Scripts Object Members
A collection of Script objects that represent the collection of HTML scripts in the specified document.
Methods
| Name | Description | |
|---|---|---|
| Add | Adds a Script object to the Scripts collection of one of the following objects: a Document or Range object in Microsoft Office Word; a Worksheet or Chart object in Microsoft Office Excel; or a Slide, SlideRange, slide Master, or title Master object in Microsoft Office PowerPoint. Returns a Script object. |
| Delete | Deletes the specified object from the collection. |
| Item | Returns a member of the Scripts collection. Accepts the index number or ID of the script you want the Microsoft Office application to return. The Item method accepts a Variant value that can accept either an ordinal number (index value), which returns the script stored at that position in the Scripts collection, or a String value that represents the name or ID of the script. |
Properties
| Name | Description | |
|---|---|---|
| Application | Gets an Application object that represents the container application for the Scripts object (you can use this property with an Automation object to return that object's container application). Read-only. |
| Count | Gets a Long indicating the number of items in the Scripts collection. Read-only. |
| Creator | Gets a 32-bit integer that indicates the application in which the Scripts object was created. Read-only. |
| Parent | Gets the Parent object for the Scripts object. Read-only. |