Hi all,
I am having trouble with a macro for unprotecting a sheet keeping specific cells locked then clearing contents of other cells then reproect the sheet.
I wrote one for one sheet which works and I have re used this but it keeps saying Unable to set the Locked property of the Range class.
Can anyone see what I've done wrong?
The code that worked is:![]()
Please Login or Register to view this content.
I don't know why it works with one sheet and not the other.![]()
Please Login or Register to view this content.
All help gratefully recieved.
I have attached the sheet in case its something on the sheet rather than the code,
Thanks again
Bookmarks