Copying Sheets Into One

ERed1

Board Regular
Joined
Jun 26, 2019
Messages
104
Hi all,

I have a macro that copies different excel workbooks into one workbook, except they all have their own sheet. When the files get copied into the one big file and get their own sheets, the sheet names are Sheet 1, Sheet 1 (2), Sheet 1 (3), etc.... I need help writing a macro that then combines those sheets into one sheet named "Merged". The amount of files selected to begin with will always be changing; it may be 2 one time and 5 another.

Thanks for the help in advance.
 

sijpie

Well-known Member
Joined
Nov 1, 2008
Messages
3,528
what is the macro you have? You are asking us to help you amend the macro, but that won't work if we don't know where to start from.

Please post your code within code tags, see example below in red/blue
 

Forum statistics

Threads
1,084,906
Messages
5,380,529
Members
401,687
Latest member
elisa pathros

Some videos you may like

This Week's Hot Topics

Top