Pavertheway
New Member
- Joined
- Nov 5, 2018
- Messages
- 47
Hi,
I want to run two operations through the Workbook_Open string at the same time but can't get it to work correctly.
I currently have;
Which works exactly how I want it to, except it can still open on the sheet the workbook was saved on.
I usually use:
To get a workbook to open on a specific sheet but I cannot seem to get them to work together - is there something I am missing/doing wrong?
Thanks in advance!
I want to run two operations through the Workbook_Open string at the same time but can't get it to work correctly.
I currently have;
Code:
Private Sub Workbook_Open()
Dim ws As Worksheet
For Each ws In ThisWorkbook.Worksheets
ws.Visible = xlSheetVisible
Next ws
Sheets("START").Visible = xlVeryHidden
Application.EnableEvents = True
End Sub
I usually use:
Code:
Private Sub Workbook_Open()
Sheets("Sheet1").Select
Range("A1").Select
End Sub
To get a workbook to open on a specific sheet but I cannot seem to get them to work together - is there something I am missing/doing wrong?
Thanks in advance!
Last edited by a moderator: