Senthil Murugan
New Member
- Joined
- Sep 25, 2024
- Messages
- 48
- Office Version
- 365
- Platform
- Windows
Good Morning everybody
I have 5 sheets named Sheet1 to Sheet5 WITH “ all sheets Password Protected”
Before closing the file
I have set all the sheets “ visible = false” EXCEPT Sheet1
What I need is
When I open the file ( workbook ) , the Sheet1 shall be activated irrespective of
I am activating the Sheet4 ( for example ) but typing something and UNSAVED the sheet4 and UNSAVED the workbook when closing the file
My problem is
When I open the file, it goes to Sheet4 instead of sheet1
My code in ThisWorkbook ( Open) is
Sheets("Sheet1").Activate
Sheets("Sheet1").Select
Sheets("Sheet1").Unprotect Password:="123"
Sheets(“Sheet1”).Range(“A1”).Select
Sheets("Sheet1").Protect Password:="123"
Any solution to this will be highly solicited
Thanks in advance
I have 5 sheets named Sheet1 to Sheet5 WITH “ all sheets Password Protected”
Before closing the file
I have set all the sheets “ visible = false” EXCEPT Sheet1
What I need is
When I open the file ( workbook ) , the Sheet1 shall be activated irrespective of
- last activated and saved sheet
- last activated and unsaved sheet and unsaved workbook ( without saving workbook)
I am activating the Sheet4 ( for example ) but typing something and UNSAVED the sheet4 and UNSAVED the workbook when closing the file
My problem is
When I open the file, it goes to Sheet4 instead of sheet1
My code in ThisWorkbook ( Open) is
Sheets("Sheet1").Activate
Sheets("Sheet1").Select
Sheets("Sheet1").Unprotect Password:="123"
Sheets(“Sheet1”).Range(“A1”).Select
Sheets("Sheet1").Protect Password:="123"
Any solution to this will be highly solicited
Thanks in advance