On the Click_Event() send a msg to a TextFile/ MsgBox/TextBox whatever. Just a simple example:
Code:
Private Sub Command1_Click()
' write to msgbox
msgBox "You clicked CommandButton 1"
' write to textbox
Text1.Text = "You clicked Command 1 & vbCrlf
Text1.Text = ""
' write to textfile
Open "C:\Test.txt" For Output As #1
Write #1, You clicked command1 & vbCrlf
Close #1
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.