Document.CurrentRsid (Word)

Returns a Long that represents a random number that Word assigns to changes in a document.

If the StoreRSIDOnSave property is True, each time a document is saved, Word generates a random number that the application uses to facilitate comparing and merging documents. Word stores the random numbers in a table and updates the table after each save. The CurrentRsid property returns the last number that Word has assigned to a document.


Dim lngCurrentRsid As Long
lngCurrentRsid = ActiveDocument.CurrentRsid