I created a Button macro for clearing a form (an Invoice) below:
Sub clear_invoice()
'
' clear_invoice Macro
' Macro recorded 03/27/2006
'
'
Range("C15
21").Select
Selection.ClearContents
Range("H27").Select
End Sub
-----------------------------
In case someone hits the Clear button by mistake,
How can I make a box popup first, saying "You are about to clear the Invoice. Click Yes to proceed or No to cancel"
Or something to that effect???
Sub clear_invoice()
'
' clear_invoice Macro
' Macro recorded 03/27/2006
'
'
Range("C15
Selection.ClearContents
Range("H27").Select
End Sub
-----------------------------
In case someone hits the Clear button by mistake,
How can I make a box popup first, saying "You are about to clear the Invoice. Click Yes to proceed or No to cancel"
Or something to that effect???