Bagikan melalui


CoAuthoring.CanShare Property (Word)

Returns a Boolean that specifies whether this document can be co-authored. Read-only.

Version Information

Version Added: Word 2010

Syntax

expression .CanShare

expression An expression that returns a CoAuthoring object.

Remarks

The value of this property is affected by whether CanMerge is True, the file extension is .docx, and the document is stored on a server that supports the File Synchronization via SOAP over HTTP protocol.

Example

The following code example displays whether the active document can be co-authored.

If ActiveDocument.CoAuthoring.CanShare Then 
    MsgBox "This document can be co-authored." 
Else: MsgBox "This document cannot be co-authored." 
End If

See Also

Concepts

CoAuthoring Object

CoAuthoring Object Members