excel - How to make VBA click a button in a different workbook? -
workbook 1 contains macro 1, wrote.
i'm using macro 1 send input data workbook 2, , retrieve calculations workbook 2. workbook 2's calculations require exercising macro 2, activated clicking command button button 6 in workbook 2.
the button name "button 6" , know name of macro initializes.
how click button 6 macro 1?
instead of clicking button in other workbook run button's click event function or intended function using application.run method.
application.run "workbookname!functionname"
Comments
Post a Comment