Instantiates the Visual Basic Editor for the specified event for the currently selected object.
Syntax
object.SetScriptWindow bCreateIfEmpty,bstrEventName
Properties
The SetScriptWindow method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
bCreateIfEmpty |
Boolean. If True, the default event procedure should be prototyped in VBA if there are no procedures present for this object. |
bstrEventName |
String. The name of the event procedure to display in the code window. |
Remarks
SetScriptWindow is a Configuration environment method only.