still learning
Well-known Member
- Joined
- Jan 15, 2010
- Messages
- 821
- Office Version
- 365
- Platform
- Windows
I can’t seem to get this to work.
When I open the workbook, I want to open sheet1. I have 7 sheets and I don’t always go back to sheet 1 before I save and close
When I open the work book, it goes to sheet1 but the sub “movebox” doesn’t run
If I open another sheet in the workbook, and go back to sheet1, it runs
I tried to change “Open” and “Activate”
Here is what I’m trying to use:
This is in the “Thisworkbook”
This is Sheet1
mike
When I open the workbook, I want to open sheet1. I have 7 sheets and I don’t always go back to sheet 1 before I save and close
When I open the work book, it goes to sheet1 but the sub “movebox” doesn’t run
If I open another sheet in the workbook, and go back to sheet1, it runs
I tried to change “Open” and “Activate”
Here is what I’m trying to use:
This is in the “Thisworkbook”
VBA Code:
Private Sub Workbook_open()
Sheets("sheet1").Select
End Sub
VBA Code:
Private Sub Worksheet_activate()
movebox
opening
End Sub
mike