VBABEGINER
Well-known Member
- Joined
- Jun 15, 2011
- Messages
- 1,284
- Office Version
- 365
- Platform
- Windows
Hi Im still wondering with lot many problem's..
Request all board members pls look at this and try to provide me solution..
I really dont understand how to start..
I will start from below...
There are 2 sheet's which I dont want to show to user's..
Request all board members pls look at this and try to provide me solution..
I really dont understand how to start..
I will start from below...
There are 2 sheet's which I dont want to show to user's..
Code:
Private Sub Worksheet_Activate()
Dim Pass As String
Application.Goto Me.UsedRange.SpecialCells(xlCellTypeLastCell).Offset(2, 2), True
Pass = Application.InputBox("Please enter password.")
If Pass = "WTW" Then
Sheets("Sheet1").Visible = True
End If
End Sub
Code:
Private Sub Worksheet_Activate()
Dim Pass As String
Application.Goto Me.UsedRange.SpecialCells(xlCellTypeLastCell).Offset(2, 2), True
Pass = Application.InputBox("Please enter password.")
If Pass = "WTW" Then
Sheets("Sheet1").Visible = True
End If
End Sub