'Declaration Public Overloads Sub AddSelection( _ ByVal range As CellRange, _ ByVal moveAnchorCell As Boolean _ )
'Usage Dim instance As Worksheet Dim range As CellRange Dim moveAnchorCell As Boolean instance.AddSelection(range, moveAnchorCell)
public void AddSelection( CellRange range, bool moveAnchorCell )
Parameters
- range
- The selected range.
- moveAnchorCell
- Whether to reset the anchor cell to the top-left corner of the selection area.