Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Word 10: merging .doc files representing odd/even pages

12 Dec 2012   #1

Win 7 Home Premium x64
Word 10: merging .doc files representing odd/even pages

after scanning and OCR-processing papers I ended up with a number of Word documents
representing odd and even numbered pages. They are stored in separate folders.
Unfortunately, my scanner cannot turn pages.

Now I would like to merge these documents into one Word document, such as:

starting with page 1:
even\doc1.doc, page 2
odd\doc2.doc, page 3
even\doc2.doc, page 4

Could do it manually, but there are 200 or so pages

A macro would be fantastic, but I have no idea how to go about that.

Can somebody help?


My System SpecsSystem Spec
15 Dec 2012   #2

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)

I think it is doable without a macro.
Here is a trick.

Open default blank document. Click Insert menu on Office ribbon.
There is an OBJECT button on it. But you need to click on little arrow beside it and then select TEXT FROM FILE.
Then navigate to your master folder with all those subfolders with documents. Click F3 key on your keyboard and start typing
After that your computer will start to search all documents in subfolders. That might take a while depending on the number of documents. Then you need to right click inside that window and select in right click menu - View- Details, Sort by - Folder path, Ascending.
When all documents will show up in that window, make a keyboard shortcut - Ctrl+A to select ALL files and click INSERT button.

You can also sort by date, if documents were created one after another page by page. But sorting by folder path seems better to me.

Attached Images
Word 10: merging .doc files representing odd/even pages-insert.png Word 10: merging .doc files representing odd/even pages-tff.png 
My System SpecsSystem Spec
15 Dec 2012   #3

Win 7 Home Premium x64

Thanks, Neutron.

As it stands, I was aware of this. However for some reason I get no search results on subdirectories, and used by itself, the Word function you described will allow only sequentially to include files. What I need to do is to inculde them alternating.

Imagine two stacks of papers left and right. You form a third by grabbing one page from the left stack, then one from the right stack, and repeat until there are none left on either side. You end up with one stack in the middle containing the pages in the right sequence.

I used to program a lot in the distant past, the logic is simple, but I have no nerve to dig into VB to write a program.

There seems to be no simple solution to this. I suppose professional scanner/OCR systems will let you do it, either by turning pages physically, or by merging the resulitng odd/even scanned and OCRd files into one.

Anyway, I solved the problem by hand in about 20 minutes - anyone interested can ask me at [email address removed].
Thanks again for your time!

My System SpecsSystem Spec

15 Dec 2012   #4

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)

steinspecht! yeah, I have got an idea about what are you doing. That is why I proposed a search inside Insert file window. It worked for me. That is strange that search did not work for you. Likely, this folder was not indexed and you might wanted to wait longer.

I think there are some people who interested how have you solved that problem manually. Could you be so kind to post it here? And if I were you, I would have deleted email from previous post. Forum is open for indexing and spammers will get your email in a matter of hours.
My System SpecsSystem Spec
16 Dec 2012   #5

Win 7 Home Premium x64

Well I don't know either why the search doesn't recurse subdirectories. I wish there was a pop-up window with all the options for advanced search.

In the end I generated a batch file (.bat) by first starting cmd to produce a list of files:
dir \odd_pages\*.doc > odd.dat
dir \even_pages\*.doc > even.ddat
copy odd.dat+even.dat mybatch.bat

Edited mybatch.bat to keep only the file names, then created a three-column table reading:
copy \odd_pages\file001.doc ..\merged\file001.doc
copy \even_pages\file001.doc ..\merged\file002.doc
copy \odd_pages\file002.doc ..\merged\file003.doc
copy \even_pages\file002.doc ..\merged\file004.doc

then saved the whole thing as text-only, editing again to have each copy command on one line.

In the end I ran mybatch.bat and voilá.

In Word, I inserted the whole list of files into a first blank page.

It worked for 70 pages or so, but I have another set totalling about 200 pages, which is WORK.

So I'm still interested in someone helping me with a decent .bat file or macro...

My System SpecsSystem Spec
16 Dec 2012   #6

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)

Control Panel - Folder Options - Include subfolders in search results...
Is this option checked?
My System SpecsSystem Spec
16 Dec 2012   #7

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)

To recreate your situation, I have created a folder named STUFF and subfolders with following files:

Then I have downloaded this freeware program 1-4a-rename.
I have started it and opened my folder in it. Then pressed F2 for Expert mode.
Checkmarked Subdir levels.
Checkmarked ADD LEAD and then checkmarked NEW.

At the end I have got this:

Now you can put them in one folder and merge.

Please make a backup copy before you try on real work files!

Attached Images
Word 10: merging .doc files representing odd/even pages-rename.png 
My System SpecsSystem Spec
16 Dec 2012   #8

Win 7 Home Premium x64

Subdirs are included in search as per Control Panel.

Thanks for the hint about 1-4a-rename.! Looks neat and very useful!

Meanwhile I got this, which seems quite a clever usage of SEQ, it is in German, but the step-by-step procedure is self-evident. Lisa is a certified Microsoft trainer.

Word10: einzelne Dokumente alternierend zusammenfügen - Microsoft Community

Again thanks for your support and time!
Andrei (Steinspecht)
My System SpecsSystem Spec

 Word 10: merging .doc files representing odd/even pages

Thread Tools

Similar help and support threads
Thread Forum
Copy selected pages to Word 2010
I would like to copy selected PDF pages to Word 2010. i.e. Copy odd pages and then even pages on the reverse side. When going to 'print' I don't have the option of selecting 1,3,5 and etc.
Microsoft Office
Trouble merging envelopes directly to printer in Word 2010
I'm running Word 2010 on Win7 x64. I've merged addresses in an Excel workbook to an envelope document using the standard mail merge wizard. I'd like to print these 10 at a time since that's all I can fit in my printer's feed tray. I click on Finish & Merge and then Print Documents and enter the...
Microsoft Office
Word.doc has non-merging background colour
Hello Everyone, I use MS Office 2010. Whenever I copy something in Word from the Net, the background of the text carries the background colour of the web-page from which it is copied. Please see the screenshot below. I used to get rid of it easily in Office 2003 and I am sure it should be...
Microsoft Office
Word Pad pages not starting up
Hello, I recently installed a "free" version of Microsoft office on my acer netbook. Now my saved pages in wordpad and most other programs will not launch. I can get wordpad to launch and save a page but then I cannot open it back up. Just keeps saying "processing..." for hours. What is the...
General Discussion
Word 2010, turn off the corner __| on new pages?
On a new page i get the _| margin symbol, any way of turning it off?
Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 17:39.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App