Word Properties

D

Dan Coates

Does anyone know where in the Word Object model the properties that
are displayed in the Word status bar are stored i.e. the Line Number
(ln) and the column Number (col).

Thanks in advance.

dan.
 
J

Jonathan West

Dan Coates said:
Does anyone know where in the Word Object model the properties that
are displayed in the Word status bar are stored i.e. the Line Number
(ln) and the column Number (col).

Thanks in advance.

dan.

Hi Dan

LineNumber = Selection.Information(wdFirstCharacterLineNumber)
ColNumber = Selection.Information(wdFirstCharacterColumnNumber)
 
D

Dan Coates

Thanks Jonathan...

Jonathan West said:
Hi Dan

LineNumber = Selection.Information(wdFirstCharacterLineNumber)
ColNumber = Selection.Information(wdFirstCharacterColumnNumber)
 

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