Example

This example displays a message box showing the current cursor location.

Sub DisplayCurrentCursorLocation()

 With Session

  MsgBox "The cursor is located at " & .CursorRow & ", " & .CursorColumn

 End With

End Sub