How do you call the double click event of a control from another procedure?
If I try
Call textbox1_DblClick
I get "Argument not optional"
If I try
Call textbox1_DblClick (0)
or
Call textbox1_DblClick (false)
or
Call textbox1_DblClick (true)
I get "type mismatch"
What does it want?
Code:
Private Sub textbox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
A bunch of statements that work
End
End Sub
Private Sub Button1_Click()
If checkbox1.Value = -1 Then Call textbox1_DblClick()
End Sub
If I try
Call textbox1_DblClick
I get "Argument not optional"
If I try
Call textbox1_DblClick (0)
or
Call textbox1_DblClick (false)
or
Call textbox1_DblClick (true)
I get "type mismatch"
What does it want?