Combining Worbooks With Identical Names

Saighead

New Member
Joined
May 17, 2013
Messages
34
Hi,

I have two folders containing different versions of the same workbooks. The names of the files are identical. I need a script that would identify workbooks with the same name and copy Worksheet 1 of Workbook 1 AFTER Worksheet 1 of Workbook 2. Can this be done? The folders have hundreds of files and it would take me a week to do this manually.

Thanks in advance.

Also posted here
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
You can't open 2 workbooks with the same name at the same time.

You'll need code to rename the workbooks in one of the folders.
 
Upvote 0
You can't open 2 workbooks with the same name at the same time.

You'll need code to rename the workbooks in one of the folders.

Piece of cake. I can just batch rename files in one or both folders. Say "Name (Ver1)" for folder 1 and "Name (Ver2)" for folder 2. No code necessary. It's all the rest that is a problem...
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,975
Messages
6,175,746
Members
452,667
Latest member
vanessavalentino83

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top