Share via


PublishObject.Publish Method

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub Publish ( _
    Create As Object _
)
'Usage
Dim instance As PublishObject
Dim Create As Object

instance.Publish(Create)
void Publish(
    Object Create
)

Parameters

  • Create
    Type: System.Object

    Optional Object. If the HTML file exists, setting this argument to True replaces the file, and setting this argument to False inserts the item or items at the end of the file. If the file does not exist, the file is created regardless of the value of the Create argument.

Remarks

The Filename property returns or sets the location and name of the HTML file.

See Also

Reference

PublishObject Interface

PublishObject Members

Microsoft.Office.Interop.Excel Namespace