PublishObjects.Item Property
Excel Developer Reference |
Returns a single object from a collection.
Syntax
expression.Item(Index)
expression A variable that represents a PublishObjects object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Index | Required | Variant | The name or index number of the object. |
Example
This example obtains the identifier from a <DIV> tag and finds the line in a Web page (q198.htm) that you saved from a workbook. The example then creates a copy of the Web page (newq1.htm) and inserts a comment line before the <DIV> tag in the copy of the file.
Visual Basic for Applications |
---|
|
See Also