I am very new to VBA coding on Excel, and I have run into a problem, that I'm not sure what I've done wrong.
I have a button designed on a worksheet to clear all the unprotected cells. This is the code:
When I try to run this, I get Run-Time Error 91, and the debugging points me back to the "If Cell.Locked = False" part.Please Login or Register to view this content.
Any suggestions would be greatly appreciated.
Bookmarks