P
Pinda
I have this bit of code that I recorded as a macro,edited
it slightly and then assigned it to a button:-
Sub AleBak()
'
' AleBak Macro
' Macro recorded 30/09/2003 by Bhupinder Rayat
'
'
Sheets("LDP Template").Select
ActiveSheet.AutoFilterMode = False
Range("A7").AutoFilter Field:=7, Criteria1:="Alex
Baker"
End Sub
The code works fine, but falls down when I password
protect the worksheets. It has a problem with the line...
ActiveSheet.AutoFilterMode = False
The error message is, 'Unable to set the AutoFilter mode
property of the worksheet class.'
Can anyone tell me why this is?
Thanks in advance.
Pinda.
it slightly and then assigned it to a button:-
Sub AleBak()
'
' AleBak Macro
' Macro recorded 30/09/2003 by Bhupinder Rayat
'
'
Sheets("LDP Template").Select
ActiveSheet.AutoFilterMode = False
Range("A7").AutoFilter Field:=7, Criteria1:="Alex
Baker"
End Sub
The code works fine, but falls down when I password
protect the worksheets. It has a problem with the line...
ActiveSheet.AutoFilterMode = False
The error message is, 'Unable to set the AutoFilter mode
property of the worksheet class.'
Can anyone tell me why this is?
Thanks in advance.
Pinda.