_QueryTable.WebFormatting Property

Returns or sets a value that determines how much formatting from a Web page, if any, is applied when you import the page into a query table. Read/write XlWebFormatting.

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

Syntax

'Declaration
Property WebFormatting As XlWebFormatting
    Get
    Set
'Usage
Dim instance As _QueryTable
Dim value As XlWebFormatting

value = instance.WebFormatting

instance.WebFormatting = value
XlWebFormatting WebFormatting { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlWebFormatting

Remarks

Use this property only when the query table’s QueryType property is set to xlWebQuery and the query returns an HTML document.

See Also

Reference

_QueryTable Interface

_QueryTable Members

Microsoft.Office.Interop.Excel Namespace