Click or drag to resize

IScriptingEventsOnDocumentOpen Method

Document is being opened for viewing. 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 OnDocumentOpen(
	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 OnDocumentOpen
    somessagebox currentdocument.description & " was opened"    
End Sub

See Also