sure - set up a sheet that you're happy for the user to see, then make all the other sheets VeryHidden. I often hide all the sheets except a welcome sheet. Here's a link to a site about forcing the enabling of macros which is also pretty essential if you're concerned about security!Hi,
I have tried the following:
Private Sub Worksheet_Activate()
pword = InputBox("Please Enter a Password", "Unhide Sheets")
If pword <> "Test" Then ActiveSheet.Visible = False
End Sub
However, when I am adding the password I can still see the sheet when I key in the password. Is there anyway to do this without seeing the sheet?
/H
cant you just use the vbe and break in again?
Have all sheets hidden ( xlveryhidden ) when you save it, except for one, which has text "Enable Macros To Use This Workbook", and do the unhiding in the Workbook Open event ( which will only happen if macros are enabled ). Oh, and hide the macro message sheet at the same time. If they are allowed to save it, then you should have macros to rehide stuff back to starting state on Workbook Close.