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)
 
Top