I'm a newbie in VB i want to ask if have a vb form 1 if i press the command button "ADD" it will call out the form i do vb form 2
so what is the coding for it ah??
Help me thank you
I'm a newbie in VB i want to ask if have a vb form 1 if i press the command button "ADD" it will call out the form i do vb form 2
so what is the coding for it ah??
Help me thank you
im not sure:
Private Sub Command1_Click()
Form2.Show
End Sub
and if u hide the 1st form then write
me.hide
or
form1.hide
How to use in Userform2, the name of Userform1, which is received in Userform2 as a variable?
the code will be as shown:
private sub command1_CLICK()
form2.show
end sub
this code should be put in the code window for form1 after double clicking the 'ADD' button.
Thanks. I do appreciate your reply. I am new to VB.
-P. Michael
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.