Macro-get page number in variable

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to find a word only on specific page . Please tell me how do I
store page number in a variable
 
Hi =?Utf-8?B?cmFodWw=?=,
I am trying to find a word only on specific page . Please tell me how do I
store page number in a variable
You'll get faster answers to macro-related questions by posting in one of the
word.vba newsgroups...

If you want to pick up the current page number, or the page number of a
particular range, you need the .Information property of the Selection or the
Range object. That has a parameter that will return the page number.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 

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

Back
Top