General information
Category:
COM/DCOM and OLE Automation
>Hi everyone,
>
>I have another question that someone here might be able to answer for me: does anyone know if Word has a property like PageCount, or better yet, a Pages collection? I can't seem to find either one.
>
This one I can answer. It's well-hidden. <g>
The BuiltInDocumentProperties collection includes a wdPropertyPages item. In addition, the Information property of a document contains a variety of items, including one called wdActiveEndPageNumber. One or the other should give you what you want.
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only