R
rob nobel
Hi all,
The following procedure allows auto filter on protected sheets.
If I have many thus sheets, do I need to replicate all these lines or can I
include all their names somehow within this procedure?
With Worksheets("Tax Invoice records")
.EnableAutoFilter = True
.Protect Password:="password", _
Contents:=True, UserInterfaceOnly:=True
End With
Thanks,
Rob
The following procedure allows auto filter on protected sheets.
If I have many thus sheets, do I need to replicate all these lines or can I
include all their names somehow within this procedure?
With Worksheets("Tax Invoice records")
.EnableAutoFilter = True
.Protect Password:="password", _
Contents:=True, UserInterfaceOnly:=True
End With
Thanks,
Rob