Nok Imchen
Nok Imchen

Reputation: 2842

How to click a button of one form from another form?

Say, i've two forms form1 and form2

form1 has a button name command1

and form2 has a button named command1

Question is, how can i simulate form1.button1 click when i click form2.button1

Upvotes: 2

Views: 6794

Answers (1)

Akhilesh B Chandran
Akhilesh B Chandran

Reputation: 6608

try something like this in Form2:

Form1.Command1.Value = True

Hope it will help :)

Upvotes: 6

Related Questions