Click or drag to resize

IScriptingEventsOnDocumentEdit Method

Document is being opened for editing. Word or Excel or something is about to be launched.

Namespace:  SuperOffice.COM.ScriptEvents
Assembly:  Scripting.Interop (in Scripting.Interop.dll) Version: 8.0.0.0
Syntax
void OnDocumentEdit(
	int identity
)

Parameters

identity
Type: SystemInt32
document_id
Examples

Description

This text may be copied to the notepad, and saved as a *.vbs file.

VB
Sub OnDocumentEdit
    If Not (CurrentDocument.Associate.Identity = Database.UserAssociateId) Then
        SOMessagebox "This is not your document"
    End If            
End Sub

See Also