How to run a macro from another workbook with VBA. We can access a macro in a different workbook and use it to perform the tasks for which it was written in the new workbook without having to write the same macro again. The syntax of the macro or VBA code is simple and can also be used to access specific ranges in another workbook. Watch the training video below:
Watch this video on YouTube.
Here’s the VBA code:
The above macro code accesses the following macro in another workbook: