Application.SelectCellRight method (Project)
Selects cells to the right of the current selection.
Syntax
expression. SelectCellRight
( _NumCells_
, _Extend_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
NumCells | Optional | Long | The number of cells to select to the right of the current selection. The default value is 1. |
Extend | Optional | Boolean | True if the current selection is extended to the specified cell. The default value is False. |
Return value
Boolean
Remarks
The SelectCellRight method is not available when the Calendar, Network Diagram, or Resource Graph is the active view.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.