Determine Vertical Location of a Bookmark

  • Thread starter Microsoft Newsgroups
  • Start date
M

Microsoft Newsgroups

I want to determine the vertical position of a bookmark (i.e., how far it is
from the top of the page).

How is that done?
 
J

Jezebel

[Doc].Bookmarks([BookmarkName]).Range.Information(wdVerticalPositionRelativeToPage)

Where [Doc] is a reference to the document you're working with (eg
ActiveDocument), and [BookmarkName] is a string literal or variable.
 

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