編輯

共用方式為


_QueryTable.WebSelectionType Property

Definition

Returns or sets a value that determines whether an entire Web page, all tables on the Web page, or only specific tables on the Web page are imported into a query table. Read/write XlWebSelectionType.

public:
 property Microsoft::Office::Interop::Excel::XlWebSelectionType WebSelectionType { Microsoft::Office::Interop::Excel::XlWebSelectionType get(); void set(Microsoft::Office::Interop::Excel::XlWebSelectionType value); };
public Microsoft.Office.Interop.Excel.XlWebSelectionType WebSelectionType { get; set; }
Public Property WebSelectionType As XlWebSelectionType

Property Value

Remarks

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

If the value of this property is xlSpecifiedTables, you can use the WebTables property to specify the tables to be imported.

Applies to