范围. 编辑器属性 (Word)Range.Editors property (Word)

返回一个代表所有授权可修改文档中所选内容或区域的用户的编辑器对象。Returns an Editors object that represents all the users authorized to modify a selection or range within a document.

语法Syntax

expression.expression. Editors

_表达式_是必需的。expression Required. 一个代表 Range 对象的变量。A variable that represents a Range object.

示例Example

以下示例给当前用户分配编辑权限以修改活动的选定内容。The following example gives the current user editing permission to modify the active selection.

Dim objEditor As Editor 
 
Set objEditor = Selection.Editors.Add(wdEditorCurrent)

另请参阅See also

Range 对象Range 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.