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

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -