Hi,
My questions might look stupid but I am stack on this event.
I just want this event to be fired when the user click save button and dispyay the message box to check the data before saving it.
My module look like this:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Application.ScreenUpdating = True
MsgBox "Did you enter all requiered fields", vbCritical, "Check your work"
The first time I created it worked but latter on and when I reopened the work book and click the save button nothing happens.
The event is for "This workbook"
Am I missing something?
Thanks
My questions might look stupid but I am stack on this event.
I just want this event to be fired when the user click save button and dispyay the message box to check the data before saving it.
My module look like this:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Application.ScreenUpdating = True
MsgBox "Did you enter all requiered fields", vbCritical, "Check your work"
The first time I created it worked but latter on and when I reopened the work book and click the save button nothing happens.
The event is for "This workbook"
Am I missing something?
Thanks