lines per page

K

kohai

Hi,

I was trying to find out what the code was in VBA to know where my cursor
was on a page with respect to the overall length or width of a page. At the
bottom of the screen in word there are some descriptive things like
Page #,
Sec,
Page# of Page#'s
and then At with the number of inches to there the cursor is.

My macro is inserting text into a page, and while the amount of text I can
fit is contingent upon the size of my font, I want to know how much more I
can add before I put in a page break and go to the next page.

Thank you.

Kohai
 
J

Jezebel

The Information() function can tell you -- amongst other things -- the
vertical and horizontal position of a range or of the selection.
 
K

kohai

Jezebel,

Sorry for the late reply, but thank you for your response. I found the
information function and got what I needed.

kohai
 

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