Represents a block of HTML script in a Microsoft Office Word document, on a Microsoft Office Excel spreadsheet, or on a Microsoft Office PowerPoint slide. The Script object is a member of the Scripts collection.

Methods

Name Description
Deletes the specified object from the collection.

Properties

Name Description
Gets an Application object that represents the container application for the Script object (you can use this property with an Automation object to return that object's container application). Read-only.
Gets a 32-bit integer that indicates the application in which the Script object was created. Read-only.
Sets or gets attributes added to the <SCRIPT> tag, with the exception of the LANGUAGE and ID attributes. Read/write.
Id Sets or returns the ID of a Script object. Read/write String.
Specifies or returns the scripting language of the active script. Read/write.
Represents the location of a block of HTML script in a Microsoft Office Word document, in a Microsoft Office Excel spreadsheet, or in a Microsoft Office PowerPoint slide. Read-only.
Gets the Parent object for the Script object. Read-only.
ScriptText Sets or gets the text contained in a block of script. Read/write.
Shape Gets a Shape object or InlineShape object, depending on the Microsoft Office host application. Read-only.