Does anyone know how to run the "Workbook_Open" event on password protected workbook?
The code below as an example does not work.
Also, I cannot run a macro once in the workbook as well, Design Mode is always on and the error message is "Because of security settings, macro have been disabled".
The code below as an example does not work.
Also, I cannot run a macro once in the workbook as well, Design Mode is always on and the error message is "Because of security settings, macro have been disabled".
VBA Code:
Option Explicit
Private Sub Workbook_Open()
MsgBox "Hi"
End Sub