Document.DocumentLibraryVersions property (Word)
Returns a DocumentLibraryVersions collection that represents the collection of versions of a shared document that has versioning enabled and that is stored in a document library on a server.
Syntax
expression. DocumentLibraryVersions
expression An expression that returns a Document object.
Example
The following example returns the collection of versions for the active document. This example assumes that the active document has versioning enabled and is stored in a shared document library on a server.
Dim objVersions As DocumentLibraryVersions
Set objVersions = ActiveDocument.DocumentLibraryVersions
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.