I'm really in a bind and thinking of opening a ticket with MS tomorrow, but
decide to check with you guys at the same time.
Not that I don't expect them to figure it out!?!?
Thanks for reading me.
I have an application which create documents compose of many sections. Each
sections have different headers. The building of the document is done
through a macro. I'm using MSOffice 2000.
I also have a macro that takes care of printing these documents in part.
i.e. Main part, which might be anywhere from 1 to x sections, then other
part(s) that are compose of 1 to x sections. All of these parts are printed
as separate documents, as the content goes to different customers. The print
macros figures how to print by using information store in the document's
custom properties that were stored at creation time.
My problem is an intermittent one. Where for some documents the headers
don't print correctly. i.e. Using the a header and applying it to all
subsequent sections of the print document for no apparent reason.
>>>> The online document is fine. <<<<
To print, the document defines a range (to print), selects it, save the
document in a slightly different name (the name as to be different for each
part) and then use the ".PrintOut Range:=wdPrintSelection" to print.
I've also tried printing with ".PrintOut Range:=wdPrintFromTo,
From:=ls_FromPage, To:=ls_ToPage", but it didn't work as only the first part
(output job) contains all the pages of the document (not only the selection
to print but the whole document) and all subsequent output parts have less
than 20 bytes (like pointers) which is not working at all for me.
As anyone encountered this problem? Does anyone have suggestions? I could
send the print macro and a document that is problematic if requested (about