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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -