how can i call a 1 command button in another form? for example i have form1 in the form 1 i have listbox, in my listbox i have item Customer, Product and etc if i double click my Customer i want to click my command 1 button in form 2 how can i do that? and also in the product if i click the product i want to click the command3 in form 3 please help thanks
ryan311
-7
Posting Whiz in Training
Recommended Answers
Jump to PostIn Form1
Private Sub CustemersList_DblClick()
Form2.Comand1_Click()
End SubIn Form2
Public Sub Command1_Click()
'Your Code Here
End SubIf you got it MARKED AS SOLVED
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.