SelectCell Method

Microsoft Word Visual Basic

Selects the entire cell containing the current selection. To use this method, the current selection must be contained within a single cell.

expression.SelectCell

expression    Required. An expression that returns a Selection object.

Example

This example selects the entire cell containing the current selection.

Selection.SelectCell