Tocogroup
asked on
How do I pass an argument to an Excel userform in VBA ?
Hi Experts,
I am building an application in Excel VBA and have a user form (ufOrdersForm) with a text box control which holds an invoice number.
When the user double-clicks the text box I want its value (an invoice number) to pass to another form (ufSalesForm) as follows......
Private Sub teInvoiceNo1_DblClick(ByVa l Cancel As MSForms.ReturnBoolean)
Application.ScreenUpdating = False
Unload Me
ufSalesForm.Show
Application.ScreenUpdating = True
End Sub
How do I pass the argument from the procedure above to the intended user form ?
Thanks in anticipation ?
Toco
I am building an application in Excel VBA and have a user form (ufOrdersForm) with a text box control which holds an invoice number.
When the user double-clicks the text box I want its value (an invoice number) to pass to another form (ufSalesForm) as follows......
Private Sub teInvoiceNo1_DblClick(ByVa
Application.ScreenUpdating
Unload Me
ufSalesForm.Show
Application.ScreenUpdating
End Sub
How do I pass the argument from the procedure above to the intended user form ?
Thanks in anticipation ?
Toco
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cheers
Toco