Afternoon Happy Campers,
I have the following code on a workbook.
Which runs very nicely indeed. any user who opens the sheet must supply the correct password, or the sheet does not unlock.
But i would like to know if i can get VBA to look at the windows login name of the person trying to unlock, and if it matches my own (Bloggs, Joe) then when i click the button for unlocking the sheet, VBA will bypass the need to enter the password? but for any other username it will require them to enter a password?
Not entirely sure if its too much of a complicate thing (doubtful) or not, but im guessing im going to get the best answer from this forum!!
(The sheet is my own creation and i also have another button with a predefined password)
At present the sheet works, very well (with lots of input from here lol) i would just like to put the finishing touches onto it, as a kind of bragging right lol 
kind regards, galvinpaddy.
Bookmarks