A
Andrew
Hi - I am either missing something really simple or something else is
happening:
This works fine...
sub proc i_protect
Dim mySheet As Worksheet
For Each mySheet In Worksheets
mySheet.protect ("abc1234")
Next mySheet
end sub
This says the password is incorrect...
sub proc i_unprotect
Dim mySheet As Worksheet
For Each mySheet In Worksheets
mySheet.Unprotect ("abc1234")
Next mySheet
end sub
Any ideas?
Thanks
Andrew
happening:
This works fine...
sub proc i_protect
Dim mySheet As Worksheet
For Each mySheet In Worksheets
mySheet.protect ("abc1234")
Next mySheet
end sub
This says the password is incorrect...
sub proc i_unprotect
Dim mySheet As Worksheet
For Each mySheet In Worksheets
mySheet.Unprotect ("abc1234")
Next mySheet
end sub
Any ideas?
Thanks
Andrew