guitardave78
Programmer
Is it possible to see what button opened a form, or to send a variable to the form?
}...the bane of my life!
}...the bane of my life!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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