urgent please
i have a form with 3 sub procedures,i need to call on each of the sub seperately when i click a button in another form
Pheyishayor
0
Newbie Poster
Recommended Answers
Jump to PostIn the form being called
Make the Sub PublicOption Explicit 'Form 2 has 1 Text box Public Sub ChClr() Text1.BackColor = vbRed Form2.Show End Sub
In the calling form:
Private Sub Command1_Click() Form2.ChClr Form2.SecondSub Form2.ThirdSub End Sub
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.