Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2005

Tip: Looking for answers? Try searching our database.

count pages

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
karin - 23 Feb 2005 21:35 GMT
how do i count either the number of pages or page breaks in a document using VB

thanks
Greg - 23 Feb 2005 21:43 GMT
Something like:

Sub Test()
MsgBox ActiveDocument.ComputeStatistics(wdStatisticPages)
End Sub
Greg - 23 Feb 2005 21:43 GMT
Something like:

Sub Test()
MsgBox ActiveDocument.ComputeStatistics(wdStatisticPages)
End Sub
Jezebel - 23 Feb 2005 21:46 GMT
activedocument.BuiltInDocumentProperties("Number of pages")

> how do i count either the number of pages or page breaks in a document
> using VB
>
> thanks

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.