P
Peter Karlström
Hi
I have read a lot of articles concerning NUMPAGES errors in documents from
as early versions as for Word 97.
I have developed a VB6 COM-Addin to a customer for Word XP, Word 2003 and
Word 2007, and in the client environment the pages is shown correctly after
some updates from the COM-Addin.
However, in the customers system for management of the documents, which is
web-based, a rendering function creates problems. The users can create
PDF-files from Word documents using a server component, and the rendered
document has wrong total number of pages.
So we have created a small Word COM-addin for the server to update the
document, and this works for most of the documents, but unfortunately not all.
One end-user says that he created a macro in one document and after that,
the error in number of pages disappeared for that document.
Could this make any difference, and if so, what is happening when a document
consists of macro code?
Is there a timing error that the existens of a macro helps solve?
This is a most enoying error, since it shouldn't even exist efter 12 years
of different Word versions.
Is there anybody out there who has a final and working solution?
Thanks in advance
I have read a lot of articles concerning NUMPAGES errors in documents from
as early versions as for Word 97.
I have developed a VB6 COM-Addin to a customer for Word XP, Word 2003 and
Word 2007, and in the client environment the pages is shown correctly after
some updates from the COM-Addin.
However, in the customers system for management of the documents, which is
web-based, a rendering function creates problems. The users can create
PDF-files from Word documents using a server component, and the rendered
document has wrong total number of pages.
So we have created a small Word COM-addin for the server to update the
document, and this works for most of the documents, but unfortunately not all.
One end-user says that he created a macro in one document and after that,
the error in number of pages disappeared for that document.
Could this make any difference, and if so, what is happening when a document
consists of macro code?
Is there a timing error that the existens of a macro helps solve?
This is a most enoying error, since it shouldn't even exist efter 12 years
of different Word versions.
Is there anybody out there who has a final and working solution?
Thanks in advance