Hi All,
Currently, when I open a userform, I use the userform initialize() command to unportect a sheet and then userform terminate() to re-protect those sheets. Is there an alternative command that I can use so that the sheets are re-protected if there is a error on the userform?
This is the code I use to unprotect the sheeet. This works properly.
This is what I use to re-protect the sheet once the userform is terminated. This works properly.
This is what I was trying to use but didn't work.
Thanks
Bookmarks