When the workbook opens I want it to go to the selected sheet which I am using as a splash screen based on a condition.
I've put this code in "This Workbook" to action when WB opens.
However it doesn't go cleanly to this screen. It still flashes up what I think was the last sheet when workbook closed last - and then it goes to the required sheet.
I've tried [Application.Screenupdating=False] but still not clean. Did I have it in the wrong place?
Or something else.
[Private Sub Workbook_Open()
Dim strCMActive As String
strCMActive = Sheet6.Range("W16")
If strCMActive = "YES" Then
Sheet79.Select
Else
Sheet78.Select
End If
End Sub]
I've put this code in "This Workbook" to action when WB opens.
However it doesn't go cleanly to this screen. It still flashes up what I think was the last sheet when workbook closed last - and then it goes to the required sheet.
I've tried [Application.Screenupdating=False] but still not clean. Did I have it in the wrong place?
Or something else.
[Private Sub Workbook_Open()
Dim strCMActive As String
strCMActive = Sheet6.Range("W16")
If strCMActive = "YES" Then
Sheet79.Select
Else
Sheet78.Select
End If
End Sub]