S
scottmcgee
Greetings,
I received around 20,000 scanned documents on a CD from a co-worker
When he scanned multi-page documents, he unfortunately saved each pag
as an individual TIF file, and named the files as such:
doc1-page1.tif
doc2-page1.tif
doc2-page2.tif
doc3-page1.tif
doc3-page2.tif
doc3-page3.tif
I now am faced with combining all the files so that doc2 contains page
1 and 2, doc3 contains pages 1, 2, and 3, and so on. I can easily d
this using an image processing program that runs from the DOS comman
line. The command I would use is:
convert -adjoin doc2-page1.tif doc2-page2.tif doc2-allpages.tif
So, this tells the program to append the two pages of doc2 into
single output file named doc2-allpages.tif. So far, so good.
Using the DOS "dir" command, I can create a text file that contains al
the file names on the CD. Then I can open the file in Excel and I hav
all the filenames in Column A. And here's where I'm stumped. How do
convert the vertically-oriented filenames into a horizontal format tha
I can then use as the basis for the command for my image processin
program? Basically, I want to convert this:
doc1-page1.tif
doc2-page1.tif
doc2-page2.tif
doc3-page1.tif
doc3-page2.tif
doc3-page3.tif
into this:
doc1-page1.tif
doc2-page1.tif doc2-page2.tif
doc3-page1.tif doc3-page2.tif doc3-page3.tif
I know that I can accomplish this by manually selecting the rows that
want to list horizontally, press control-C to copy them, select a
empty cell, and then click the paste button down-arrow and selec
"transpose". But this method is not feasible given the thousands o
files that are involved. I need a more automated, formula-based method
I'm using Excel 2003.
So, anyone have any ideas?
Thanks much,
Scott McGe
I received around 20,000 scanned documents on a CD from a co-worker
When he scanned multi-page documents, he unfortunately saved each pag
as an individual TIF file, and named the files as such:
doc1-page1.tif
doc2-page1.tif
doc2-page2.tif
doc3-page1.tif
doc3-page2.tif
doc3-page3.tif
I now am faced with combining all the files so that doc2 contains page
1 and 2, doc3 contains pages 1, 2, and 3, and so on. I can easily d
this using an image processing program that runs from the DOS comman
line. The command I would use is:
convert -adjoin doc2-page1.tif doc2-page2.tif doc2-allpages.tif
So, this tells the program to append the two pages of doc2 into
single output file named doc2-allpages.tif. So far, so good.
Using the DOS "dir" command, I can create a text file that contains al
the file names on the CD. Then I can open the file in Excel and I hav
all the filenames in Column A. And here's where I'm stumped. How do
convert the vertically-oriented filenames into a horizontal format tha
I can then use as the basis for the command for my image processin
program? Basically, I want to convert this:
doc1-page1.tif
doc2-page1.tif
doc2-page2.tif
doc3-page1.tif
doc3-page2.tif
doc3-page3.tif
into this:
doc1-page1.tif
doc2-page1.tif doc2-page2.tif
doc3-page1.tif doc3-page2.tif doc3-page3.tif
I know that I can accomplish this by manually selecting the rows that
want to list horizontally, press control-C to copy them, select a
empty cell, and then click the paste button down-arrow and selec
"transpose". But this method is not feasible given the thousands o
files that are involved. I need a more automated, formula-based method
I'm using Excel 2003.
So, anyone have any ideas?
Thanks much,
Scott McGe