Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2006

Tip: Looking for answers? Try searching our database.

lines per page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kohai - 20 Sep 2006 22:40 GMT
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
Jezebel - 21 Sep 2006 02:07 GMT
The Information() function can tell you -- amongst other things -- the
vertical and horizontal position of a range or of the selection.

> Hi,
>
[quoted text clipped - 14 lines]
>
> Kohai
kohai - 28 Sep 2006 16:14 GMT
Jezebel,

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

kohai

> The Information() function can tell you -- amongst other things -- the
> vertical and horizontal position of a range or of the selection.
[quoted text clipped - 17 lines]
> >
> > Kohai
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.