Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count word pages
Message
From
05/04/2007 11:07:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Count word pages
Miscellaneous
Thread ID:
01212518
Message ID:
01212518
Views:
62
Is there a way to determine the number of pages in a Word document? I'd like to test the number of pages to see if I need to run a shrink to fit function.

Something like:

if oWord.numpages > 1
oWord.ActiveDocument.FitToPages()
endif
Next
Reply
Map
View

Click here to load this message in the networking platform