Ok, here's the extra code to add.
Press CTRL+F11
Double click on "ThisWorkbook" in the left hand side of the screen, paste the code below in the white area that appears afterwards on the right.
What does this do and why is it necessary?
This password protects all sheets (password: "excelforum.com" without the quotes) when the user closes the file.
When the user opens the file, all sheets get unprotected again.
This is necessary because if the user does NOT enable macros, your macro to force them to only edit their specific row would not work. They would be able to edit ANY row, until they say "enable macros".
To prevent this, we protect all sheets upon closing the workbook and immediately after the workbook gets opened and the user allows macros, the protection is removed again.
If they don't enable macros, the sheets stay protected (with them not being able to edit anything) until they enable macros.
It's a small extra level of protection.
Now - please remember to click that little star next to "add reputation" below, if you feel you've been helped adequately ;-)
Bookmarks