Hi,
I need to get the number of pages of a documents list.
I'm trying to use this two properties:
ActiveDocument.BuiltInDocumentProperties("Number of pages")
ActiveDocument.Content.Information(wdActiveEndAdjustedPageNumber)
The problem is that in a loop, with large filesize documents, it is not showing the correct number of pages. I think the problem is that during the loop, Word is not totally loading the document and show the current number of pages (incomplete in this case).
Any ideas of how could I get this?
I need to get the number of pages of a documents list.
I'm trying to use this two properties:
ActiveDocument.BuiltInDocumentProperties("Number of pages")
ActiveDocument.Content.Information(wdActiveEndAdjustedPageNumber)
The problem is that in a loop, with large filesize documents, it is not showing the correct number of pages. I think the problem is that during the loop, Word is not totally loading the document and show the current number of pages (incomplete in this case).
Any ideas of how could I get this?