Selection 属性 (Word)Selection.Editors property (Word)

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


expressionexpression. Editors

_表达式_一个代表**Selection** 对象的变量。expression A variable that represents a Selection object.


以下示例给当前用户分配编辑权限以修改活动的选定内容。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

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.