S
Sunouchi
Hello everybody,
I am working with Office 2000 and VB(A)
I have to load huge documents.
It takes a long time before some documents are fully loaded. My code
has to check how many pages the document has.
the code I use is:
TotalPages = ActiveDocument.BuiltInDocumentProperties(wdPropertyPages)
MsgBox TotalPages
The problem is that the code doesn't know when the document is fully
loaded, so TotalPages comes up with the wrong information, only few
pages, even if the document has hundreds of pages.
Does anybody knows the solution?
Thanks in advance
Hans
I am working with Office 2000 and VB(A)
I have to load huge documents.
It takes a long time before some documents are fully loaded. My code
has to check how many pages the document has.
the code I use is:
TotalPages = ActiveDocument.BuiltInDocumentProperties(wdPropertyPages)
MsgBox TotalPages
The problem is that the code doesn't know when the document is fully
loaded, so TotalPages comes up with the wrong information, only few
pages, even if the document has hundreds of pages.
Does anybody knows the solution?
Thanks in advance
Hans