property CalcEdit.CaretPos as Long
Retrieves or sets a value that indicates the position of the caret in the line.

TypeDescription
Long A long expression that defines the position of the caret in the current line (0 based).
Use the CaretLine and CaretPos properties to determine the caret's position. The CaretPos property is 0-based. The first character in a line is 0. Use the TextLine property to get the line based on its index.