Sorry it's very basic question. I have a very simple form, couple of text boxes and a Command Button. On Click event of command button I want to clear all my text boxes but when I click nothing happens.
Private Sub CmdReset_Click()
MsgBox "Clear", vbOKOnly
TxtVendorName.Value = ""
TxtDesc.Value = ""
TxtOrderDay.Value = ""
TxtDeliveryDay.Value = ""
TxtComments.Value = ""
End Sub
Thanks.