I have the below code which clears specific cells after a worksheet is emailed. I need to add TextBox1, TextBox2 and TextBox3 to the code to clear contents also. any help adding this into the below VBA code?
MsgBox "Your email was sent." & vbNewLine & "The form will now be reset.", vbInformation, "Success!"
Application.ScreenUpdating = False
Range("g10:j24,h27,h28,h30,h31,W28:W32,").Select
Selection.ClearContents
Range("d3").Select
Application.ScreenUpdating = True
End Sub
MsgBox "Your email was sent." & vbNewLine & "The form will now be reset.", vbInformation, "Success!"
Application.ScreenUpdating = False
Range("g10:j24,h27,h28,h30,h31,W28:W32,").Select
Selection.ClearContents
Range("d3").Select
Application.ScreenUpdating = True
End Sub