getting VBA to click a command button on a form

  • Thread starter Thread starter Paul James
  • Start date Start date
P

Paul James

Is there a line of code I could put in VBA that would trigger the Click
event of a command button on an open form?

Thanks in advance,

Paul
 
Paul said:
Is there a line of code I could put in VBA that would trigger the Click
event of a command button on an open form?

Just call the event procedure:

commandbuttonname_Click
or
Call commandbuttonname_Click()
 
Back
Top