albertc30
Well-known Member
- Joined
- May 7, 2012
- Messages
- 1,091
- Office Version
- 2019
- Platform
- Windows
Hi all.
The code bellow seems to be working randomly.
The goal here is every time user click the customers sheet, the form customers loads up.
Many thanks.
Cheers.
The code bellow seems to be working randomly.
Code:
Private Sub Worksheet_Activate()
Sheets("customers").Unprotect Password:="******" 'UnProtects the customers sheet.
Columns("A:R").Select
ActiveWindow.Zoom = True
Range("F14").Select
Sheets("customers").Protect Password:="******" 'Protects the customers sheet.
CustForm.Show
End Sub
The goal here is every time user click the customers sheet, the form customers loads up.
Many thanks.
Cheers.