Hi,
As per the title, the below code is not executing when I open the workbook. Sometimes it executes as intended and other times it doesn't. Can anyone suggest a reason why and offer a solution please. The workbook has password protection and is used by other people in my workplace so for them is opened read only.
Thank you.
As per the title, the below code is not executing when I open the workbook. Sometimes it executes as intended and other times it doesn't. Can anyone suggest a reason why and offer a solution please. The workbook has password protection and is used by other people in my workplace so for them is opened read only.
Code:
[/COLOR]Option ExplicitPrivate Sub Workbook_Open()
'Maximise the window when the workbook is opened
Application.WindowState = xlMaximized
'Show the navigation bar
Call show_navigation
'Activate worksheet
AppActivate ThisWorkbook.Application
End Sub[COLOR=#333333]
Thank you.