Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

In VBA Word, how to check for the current line number of a Selection

Status
Not open for further replies.

vbLew

Programmer
Feb 28, 2005
22
US
In VBA Word,

Is there a function call to find out what line number my selection is at?

Thanks.
 
Nevermind,

Sorry...I just found it:

selection.Information(wdFirstCharacterLineNumber)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top