Page count

N

Nick

Hi,
Is there an object for the total page count. I am trying to create an external control file and need vba to know how many pages there are in the associated word 2002 document.
 
D

Doug Robbins - Word MVP

Hi Nick,

ActiveDocument.BuiltInDocumentProperties("Number of Pages") will return the
number of pages for the active document for the selected printer.

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
Nick said:
Hi,
Is there an object for the total page count. I am trying to create an
external control file and need vba to know how many pages there are in the
associated word 2002 document.
 
N

Nick

Brilliant, thanks

----- Doug Robbins - Word MVP wrote: ----

Hi Nick

ActiveDocument.BuiltInDocumentProperties("Number of Pages") will return th
number of pages for the active document for the selected printer

Please post any further questions or followup to the newsgroups for th
benefit of others who may be interested. Unsolicited questions forwarde
directly to me will only be answered on a paid consulting basis

Hope this help
Doug Robbins - Word MV
Nick said:
Hi
Is there an object for the total page count. I am trying to create a
external control file and need vba to know how many pages there are in th
associated word 2002 document
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top