Edit

Share via


PublishObject Interface

Definition

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.

public interface class PublishObject
[System.Runtime.InteropServices.Guid("00024444-0000-0000-C000-000000000046")]
public interface PublishObject
Public Interface PublishObject
Attributes

Remarks

The PublishObject object is a member of the PublishObjects collection.

Use PublishObjects(index), where index is the index number of the specified item in the workbook, to return a single PublishObject object.

Properties

Application

Returns an Application object that represents the Microsoft Excel application.

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.

Creator

Returns a 32-bit integer that indicates the application in which this object was created.

DivID

Returns the unique identifier used for identifying an HTML <DIV> tag on a Web page.

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.

HtmlType

Returns or sets the type of HTML generated by Microsoft Excel when you save the specified item to a Web page.

Parent

Returns the parent object for the specified object.

Sheet

Returns the sheet name for the specified PublishObject object.

Source

Returns the unique name that identifies items that have a SourceType property value of xlSourceRange, xlSourceChart, xlSourcePrintArea, xlSourceAutoFilter, xlSourcePivotTable, or xlSourceQuery.

SourceType

Returns a value that identifies the type of item being published.

Title

Returns or sets the title of the Web page when the document is saved as a Web page.

Methods

Delete()

Deletes the object.

Publish(Object)

Saves an item or a collection of items in a document to a Web page.

Applies to