Use Application.run.
I passed the workbook object as the input parameter. If you want to pass the workbook name pass Thisworkbook.Name or Thisworkbook.Fullname.
In this example, it is assumed that the slave and master XLSM files are in the same folder and that both are open. Data is copied from sheet2 starting at A2 to the last cell with data in column A. It is pasted into sheet2 of the master file in the next empty cell after the last data cell in column A.
In a Module in the slave file:
You can also use the code above in your Personal workbook if you don't want to add it to all of your slave workbooks. Pass Activeworkbook as the input parameter in that case where the slave workbook is open and active as-well-as the master workbook.
In a Module named mSlaveMaster in the master file:
Bookmarks