Name
workbook
.DocumentLibraryVersions
Synopsis
For workbooks that are part of a shared workspace, returns a collection containing the revision history for the workbook. For example, the following code displays revisions tracked for a workbook in a shared workspace:
Dim ver As DocumentLibraryVersion If ThisWorkbook.SharedWorkspace.Connected Then For Each ver In ThisWorkbook.DocumentLibraryVersions Debug.Print ver.ModifiedBy, ver.Modified, ver.Comments Next End If
Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.