property CalcEdit.CaretLine as Long
Indicates the line that displays the caret.

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