Show the form modally so it holds up code execution in the beforesave event.
VB Code:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) Form.Show vbModal If save = 0 Then Exit Sub End If End Sub
|
Results 1 to 4 of 4
Thread: userform.show before saveThreaded View
|
Click Here to Expand Forum to Full Width |