Merging files

riggsd

Board Regular
Joined
Jan 29, 2003
Messages
143
I need to be able to merge a directory full of MSWord documents and put the result in an Excel spreadsheet. How would this be done?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
One approach you can take is to a) save the Word files as text files, b) concatenate all the text files into a single file, and c) load the text files into Excel. If the data in Word is not in the same column in each file, I'd doubt if this would work for you. Can you describe in more detail how the Word files are formatted?

Joe
 
Upvote 0
Saving the Word files as text files isn't an option unless there's a macro that will do that and then concantenate the files. Each document consists of several pages of Word tables with multiple columns and there may be several hundred files in the directory.

Once the files are merged and in Excel, we'll have to sort each column and manually cut out the data we don't need so that we can compare the remaining items to data in another worksheet using a compare macro.
 
Upvote 0

Forum statistics

Threads
1,221,706
Messages
6,161,406
Members
451,702
Latest member
Kc3475

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