IDocumentChanged Property |
Namespace: SuperOffice.COM.SuperOfficeDB
False the document has been modified since it was loaded
True the document has never been modified
Changed
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO Dim result Set objSO = CreateObject("SuperOffice.Application") If not (objSO is nothing) Then result = objSO.CurrentDocument.Changed if result = false then MsgBox "Current document has been modified since it was loaded.", vbInformation + vbOKOnly, "SuperCOM" else msgbox "The current document has NOT been modified since it was loaded.", vbInformation + vbOKOnly, "SuperCOM" end if else MsgBox "Unable to connect to database" end if Set objSO = Nothing