no. of page

D

dom

how am I use VBA to count the total no. of page? I have tried to use
"sections(1).header.count" to count the pages but not success.
 
D

Doug Robbins

ActiveDocument.BuiltInDocumentProperties(wdPropertyPages)



Better to ask questions such as this in one of the
microsoft.public.word.vba.* newsgroups


--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 

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