Hey Alan!
Wow, great! It works!
The fact is that I would just like to try that solution for ten
users/sheets. I have tried to extend the code:
Sub HideWorksheets()
Dim Reply
Ark2.Visible = xlSheetVeryHidden
Ark3.Visible = xlSheetVeryHidden
Ark4.Visible = xlSheetVeryHidden
Ark5.Visible = xlSheetVeryHidden
Ark6.Visible = xlSheetVeryHidden
Ark7.Visible = xlSheetVeryHidden
Ark8.Visible = xlSheetVeryHidden
Ark9.Visible = xlSheetVeryHidden
Ark10.Visible = xlSheetVeryHidden
Reply = InputBox("Please Enter Your Passsword")
If Reply = "Password2" Then
Ark2.Visible = True
Else
If Reply = "Password3" Then
Ark3.Visible = True
Else
If Reply = "Password4" Then
Ark4.Visible = True
Else
If Reply = "Password5" Then
Ark5.Visible = True
Else
If Reply = "Password5" Then
Ark6.Visible = True
Else
If Reply = "Password7" Then
Ark7.Visible = True
Else
If Reply = "Password8" Then
Ark8.Visible = True
Else
If Reply = "Password9" Then
Ark9.Visible = True
Else
If Reply = "Password10" Then
Ark10.Visible = True
Else
If Reply = "Admin" Then
Ark2.Visible = True
Ark3.Visible = True
Ark4.Visible = True
Ark5.Visible = True
Ark6.Visible = True
Ark7.Visible = True
Ark8.Visible = True
Ark9.Visible = True
Ark10.Visible = True
Else: GoTo Error
End If: End If: End If: End If: End If: End If: End If: End If: End If: End
If:
Exit Sub
Error: MsgBox "Incorrect Password"
End Sub
Unfortunately that doesn't work

Any ideas??
Afterwards I will try to make an Admin sheet where it's possible to get a
comprehensive view of the individual data.
Thanks a lot!
Aron
"Alan" skrev: