Hi all
How do I "click" one button on a form by clicking a different one?
Thanks
Josh
Printable View
Hi all
How do I "click" one button on a form by clicking a different one?
Thanks
Josh
Try this!
Code:Private Sub Command1_Click()
Command2_Click
End Sub
Private Sub Command2_Click()
MsgBox "test"
End Sub
Different forms....
vb Code:
Private Sub Command1_Click() Form1.Command2_Click End Sub 'In your other form Sub Command2_Click() MsgBox "something!" End Sub
I would usevb Code:
Form1.Command1.Value = True
Thanks all I got it working using value = true
I tried the others but got a Data Method not found error
thanks again
Josh