Following on Garry's post if you mean password protect usersheets from
viewing then add this code to ThisWorkbook module.
Private Sub Workbook_Open()
Dim pword As String
On Error GoTo endit
pword = InputBox("Enter Your Password")
Select Case pword
Case Is = "Gord": Sheets("Gordsheet").Visible = True
Case Is = "Pete": Sheets("Petesheet").Visible = True
Case Is = "Manager": Call UnHideAllSheets
End Select
Sheets("BlankSheet").Visible = False
Exit Sub
endit:
MsgBox "Incorrect Password"
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Dim sht As Worksheet
Application.ScreenUpdating = False
Sheets("BlankSheet").Visible = xlSheetVisible
For Each sht In ActiveWorkbook.Sheets
If sht.Name <> "BlankSheet" Then
sht.Visible = False
End If
Next sht
Application.ScreenUpdating = True
ThisWorkbook.Save
End Sub
Also add this macro to a General Module so you as Manager can view all
sheets.
Sub UnHideAllSheets()
Application.ScreenUpdating = False
Dim n As Single
For n = 1 To Sheets.Count
Sheets(n).Visible = True
Next n
Application.ScreenUpdating = True
End Sub
Gord