SelectCell 方法 (Word)Selection.SelectCell method (Word)

选择包含当前选定内容的匹配单元格。Selects the entire cell containing the current selection.

语法Syntax

expression.expression. SelectCell

_表达式_是必需的。expression Required. 表示 Selection 对象的变量。A variable that represents a Selection object.

备注Remarks

使用此方法,要求当前选定内容必须包含在一个单独单元格中。To use this method, the current selection must be contained within a single cell.

示例Example

本示例将选择包含当前选定内容的整个单元格。This example selects the entire cell containing the current selection.

Selection.SelectCell

另请参阅See also

Selection 对象Selection Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.