Cursor Position?

T

Thomas

Hello,

Is there a property that shows the current position of the
curser on a Word document that can be used in VBA?

Thanks!!!

Thomas
 
M

Mark Tangard

Thomas,

"Current position" can mean a lot of things. VBA provides the
..Information property, giving you these:

Selection.Information(wdHorizontalPositionRelativeToPage)
Selection.Information(wdHorizontalPositionRelativeToTextBoundary)
Selection.Information(wdVerticalPositionRelativeToPage)
Selection.Information(wdVerticalPositionRelativeToTextBoundary)

Did you have something else in mind?
 

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