Hi,Originally Posted by Motilulla
The first bit of code needs to be run in the Immediate Window. It's not usually visible by default when you jump into the VBE, so just choose 'View' Immediate Window' from the VBE menu.
You could also put it in a Sub..End Sub procedure and run it as a macro.
As to the cell question, you can't protect a cell with a password, only a worksheet or a workbook.
I'll take a look at your other post.
Regards
Bookmarks