Returns the current mouse position, in row and column coordinates.
Syntax
object.MouseCol [=value]
object.MouseRow [=value]
Syntax for the MouseCol and MouseRow properties has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | The row and column coordinates that specify the current mouse position. |
Remarks
Use these properties programmatically to determine the mouse location. These properties are useful in displaying context-sensitive help for individual cells and testing whether the user has clicked on a fixed row or column.