Microsoft Excel

Ron de Bruin
Excel Automation

Microsoft MVP Program

Merge Excel workbooks on a Mac

In the example workbook that you can download below you find three macro examples and some tips how to change the code to fit your needs in Excel 2011 and up.
Note: I use my Custom Dir function for the Mac in the example workbook to get the file names I want.

Note: If you use O365 Excel 2016 or higher with the latest updates you can also use VBA Dir now to loop through the files in a folder, check out the page with the custom Dir function above for more information and a code example to loop throug the files in a folder with Dir.

Download Example workbook
File Date : 9-Dec-2019

Check out also my Merge add-in for Excel 2016 and higher