Document.SelectAllEditableRanges method (Word)
Selects all ranges for which the specified user or group of users has permission to modify.
Syntax
expression. SelectAllEditableRanges
( _EditorID_
)
expression Required. A variable that represents a Document object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
EditorID | Optional | Variant | Can be either a String that represents the user's email alias (if in the same domain), an email address, or a WdEditorType constant that represents a group of users. If omitted, only ranges for which all users have permissions will be selected. |
Example
The following example selects all ranges for which the current user has permission to modify.
ActiveDocument.SelectAllEditableRanges wdEditorCurrent
See also
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.
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin