To compute no of pages in a word document you can use the following
ActiveDocument.ComputeStatistics(wdStatisticPages,1)
This gives you the number of pages in the word document
Hope this helps
Thursday, April 26, 2007
Subscribe to:
Post Comments (Atom)
2 comments:
You can also get the no. of pages by using Selection.Information(wdNumberOfPagesInDocument).
This is great info to know.
Post a Comment