I have a series of worksheets that each have a Sub declared that set the protection appropriately for that sheet:
I thought I would be able to look through all sheets like this:
However, this fails to compile because ProtectMe is not an attribute of the type Worksheet (apparently binding for Sub calls is required at compile time).
I am trying to work around this. One approach is brute force, just call each individual worksheet. I could call Protect from a central place instead of using a ProtectMe Sub. Is there any way to do this and keep my (more elegant and flexible) approach? I was also thinking of using classes somehow, but haven't pursued that very far.
Bookmarks