Partager via


CoAuthoring.Me Property (Word)

Returns a CoAuthor object that represents the current user. Read-only.

Version Information

Version Added: Word 2010

Syntax

expression .Me

expression An expression that returns a CoAuthoring object.

Example

The following code example gets the number of locks in the active document that are associated with the current user.

Dim coAuth As CoAuthor 
 
Set coAuth = ActiveDocument.CoAuthoring.Me 
MsgBox "The current user has " & coAuth.Locks.Count & _ 
" locks in the active document."

See Also

Concepts

CoAuthoring Object

CoAuthoring Object Members