Share via


PublishObject Object Members

Excel Developer Reference

Represents an item in a workbook that has been saved to a Web page and can be refreshed according to values specified by the properties and methods of the PublishObject object.

Methods

  Name Description
Bb225585.methods(en-us,office.12).gif Delete Deletes the object.
Bb225585.methods(en-us,office.12).gif Publish Saves an item or a collection of items in a document to a Web page.

Properties

  Name Description
Bb225585.properties(en-us,office.12).gif Application When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.
Bb225585.properties(en-us,office.12).gif AutoRepublish When a workbook is saved, Microsoft Excel determines if any item in the PublishObjects collection has the AutoRepublish property set to True and, if so, republishes it. The default value is False. Read/write Boolean.
Bb225585.properties(en-us,office.12).gif DivID Returns the unique identifier used for identifying an HTML <DIV> tag on a Web page. The tag is associated with an item in a document that you have saved to a Web page. An item can be an entire workbook, a worksheet, a selected print range, an AutoFilter range, a range of cells, a chart, a PivotTable report, or a query table. Read-only String.
Bb225585.properties(en-us,office.12).gif Filename Returns or sets the URL (on the intranet or the Web) or path (local or network) to the location where the specified source object was saved. Read/write String.
Bb225585.properties(en-us,office.12).gif HtmlType Returns or sets the type of HTML generated by Microsoft Excel when you save the specified item to a Web page. Can be one of the XlHtmlType constants listed in the following table, specifying whether the item is static or interactive in the Web page. The default value is xlHtmlStatic.
Bb225585.properties(en-us,office.12).gif Parent Returns the parent object for the specified object. Read-only.
Bb225585.properties(en-us,office.12).gif Sheet Read-only
Bb225585.properties(en-us,office.12).gif Source Returns a Variant value that represents the unique name that identifies items that have a SourceType property value of xlSourceRange, xlSourceChart, xlSourcePrintArea, xlSourceAutoFilter, xlSourcePivotTable, or xlSourceQuery.
Bb225585.properties(en-us,office.12).gif SourceType Returns a XlSourceType value that represents the type of item being published.
Bb225585.properties(en-us,office.12).gif Title Returns or sets the title of the Web page when the document is saved as a Web page. Read/write String.