R
Robert Macy
This may be OT for WinXP, but here is the problem:
Running Word 2003 on WinXP I use a macro to print some 120 documents.
The order come out random and each print run has to be collated to put
them into alphabetical order!
Of course the documents all come up in Windows Explorer in any order
selectable, yet the macro prints in the order the documents appear on
the drive in DOS memory and ignore any other order. As a result I
have to collate these documents back into order!
There must be at least two ways to do this. The first, and this is
what I tried to do, was copy into a pristine location the files so
that they would already be 'laid down' in order. That almost worked,
but I have to add documents from time to time and that shifts it all
around again. If this were Win98, I could include a statement in the
autoexec.bat file to order the directories, then when Word under macro
control goes to get its list, it would get the list in alphabetical
order. The second, must relate to the macro command in Word, but I
couldn't find anything about that.
So, the question is
How do I get DOS to order the directory so that when Word, under macro
control, prints the douments in the necessary alphabetical order?
Robert
Running Word 2003 on WinXP I use a macro to print some 120 documents.
The order come out random and each print run has to be collated to put
them into alphabetical order!
Of course the documents all come up in Windows Explorer in any order
selectable, yet the macro prints in the order the documents appear on
the drive in DOS memory and ignore any other order. As a result I
have to collate these documents back into order!
There must be at least two ways to do this. The first, and this is
what I tried to do, was copy into a pristine location the files so
that they would already be 'laid down' in order. That almost worked,
but I have to add documents from time to time and that shifts it all
around again. If this were Win98, I could include a statement in the
autoexec.bat file to order the directories, then when Word under macro
control goes to get its list, it would get the list in alphabetical
order. The second, must relate to the macro command in Word, but I
couldn't find anything about that.
So, the question is
How do I get DOS to order the directory so that when Word, under macro
control, prints the douments in the necessary alphabetical order?
Robert