hey,
I just started using vba with excel, and I have a hard question (maybe its easy)
I need a workbook to automatically prompt for a password when opened and based on the password typed, certain rows would become unhidden.
the sheets are all protected with password "pass", so the coding needs to:
-prompt for password,
-unprotect all sheets using "pass"
-unhide certain rows (lets say 20 to 100) in all sheets
-protect all sheets again with "pass"
then when closing, the workbook should:
-unprotect,"pass"
-hide rows,
-protect "pass"
I really appreciate anyone trying to help.
Thanks!
Bookmarks