Script Members

Include Protected Members
Include Inherited Members

Represents a block of HTML script in a Microsoft Word document, on a Microsoft Excel spreadsheet, or on a Microsoft PowerPoint slide.

The Script type exposes the following members.

Properties

  Name Description
Public property Application (Inherited from _IMsoDispObj.)
Public property Application Returns an Application object that represents the container application for the object.
Public property Creator (Inherited from _IMsoDispObj.)
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property Extended Returns or sets attributes added to the <SCRIPT> tag, with the exception of the LANGUAGE and ID attributes.
Public property Id Returns or sets the ID of a Script object.
Public property Language Returns or sets the scripting language of the active script.
Public property Location Returns the location of the script anchor in the specified HTML document.
Public property Parent Returns the Parent object for the specified object.
Public property ScriptText Returns or sets the text contained in a block of script.
Public property Shape Returns a Shape object or InlineShape object, depending on the Microsoft Office host application.

Top

Methods

  Name Description
Public method Delete Deletes the specified object from the collection.

Top

See Also

Reference

Script Interface

Microsoft.Office.Core Namespace