Well, its like this i have a procedure in form1 and then when i use it on another form it says it doesnt exist, im using the option explicit, and the procedure is public
Tks, Daniel
Printable View
Well, its like this i have a procedure in form1 and then when i use it on another form it says it doesnt exist, im using the option explicit, and the procedure is public
Tks, Daniel
You need to refer to them like thiseven if declared public.Code:frmForm1.Subname
sorry i tries but i couldnt make it work, the names are form1 the procedure name is start, so in the dialog box i tries form1.start it gives the error method or data not found
tks again
I just tried it in VB and it works fine. :confused: This is what I did...
This code is in Form1
This code is in form2 attached to a command buttonCode:Public Sub Start()
MsgBox "I am starting!!"
End Sub
When the button on form2 is clicked, the message box shows fine.Code:Private Sub Command1_Click()
Form1.Start
End Sub