Hi,
I have a button within a userform that clears the form:
Private Sub CommandButton2_Click()
'Pop up to double check
ClearCheck.Show
'Clear Page One
Me.Actnumber1.Value = ""
Me.How1.Value = ""
Me.Whoact11.Value = ""
Me.Whoact12.Value = ""
Me.Whoact13.Value = ""
Me.Act1Date.Value = ""
Me.Comp11.Value = ""
Me.Result11.Value = ""
End Sub
What I want is when it is clicked the userform ClearCheck is shown that basically asks - Are you sure you wish to continue Yes/No.
If Yes I want the rest of the above Sub to continue. If No then Stop.
Can you advise. The ClearCheck code is below:
Private Sub CommandButton1_Click()
Unload Me
End Sub
Private Sub CommandButton2_Click()
End Sub
Thank you in advance.
Bookmarks