Share via


PublishObject.HtmlType Property

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

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

Syntax

'Declaration
Property HtmlType As XlHtmlType
    Get
    Set
'Usage
Dim instance As PublishObject
Dim value As XlHtmlType

value = instance.HtmlType

instance.HtmlType = value
XlHtmlType HtmlType { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlHtmlType

Remarks

The HtmlType property can be one of the XlHtmlType constants specifying whether the item is static or interactive in the Web page. The default value is xlHtmlStatic.

See Also

Reference

PublishObject Interface

PublishObject Members

Microsoft.Office.Interop.Excel Namespace