Finding out which page number you are on

R

red6000

Is there VBA code to extract what page number the code is currently at in
the document.

I need to do some coding that will put an extra page break (and thus blank
page) if the page is currently an even number.

Thanks.
 
D

Doug Robbins - Word MVP

Check out the .Information property of the Section object -
Selection.Information(wdActiveEndPageNumber)

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

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