Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Home Page (Objects) | Overview | FAQ | Reference
Applies to: TextSelection object
Gets the column where the insertion point is.
Syntax
object**.CurrentColumn**
Parameters
object
An expression that evaluates to a TextSelection object.
Remarks
The CurrentColumn property has the Long type.
A selection is a single point (the insertion point) or a contiguous range of text. If the TextSelection object represents a contiguous range of selected text, the CurrentColumn and CurrentLine properties indicate the active end of the selection. This is the point where the user stopped dragging the mouse.
The status bar also shows the location of the insertion point.
Example
The following example gets the number of the column containing the insertion point:
Dim ColNum
ColNum = ActiveDocument.Selection.CurrentColumn