A
Al
Hello
I would like to run this code before the file is closed.
Sub Update()
Msg = "Update File?"
Title = "File Update"
Response = MsgBox(Msg, vbYesNoCancel + vbQuestion, Title)
If Response = vbNo Then
Exit Sub
End If
If Response = vbCancel Then
Exit Sub
End If
Run file update code
MsgBox "File Updated"
End Sub
How do I do this?
Thanks
I would like to run this code before the file is closed.
Sub Update()
Msg = "Update File?"
Title = "File Update"
Response = MsgBox(Msg, vbYesNoCancel + vbQuestion, Title)
If Response = vbNo Then
Exit Sub
End If
If Response = vbCancel Then
Exit Sub
End If
Run file update code
MsgBox "File Updated"
End Sub
How do I do this?
Thanks