It'sssssssssssssssssssss FRiiiiiday!!!!!!!!!!!!!!!!!!!!
I have a userform2 with this macro on it:
BUuuuuuT, when I run it I get a Sub or function not defined.
Annnnny help would be GREATLY appreciated.
I have a userform2 with this macro on it:
Code:
Private Sub ClearMstrBtn_Click()
'-----------clear master sheet-----------
With Sheet("Mast")
Dim LastNameRow
LastNameRow = Range("A" & Rows.Count).End(xlUp).Row
Range("A2:AB" & LastNameRow).Select
Selection.ClearContents
Range("A2").Select
End With
End Sub
BUuuuuuT, when I run it I get a Sub or function not defined.
Annnnny help would be GREATLY appreciated.