Syntax

expression.WebSingleBlockTextImport

expression A variable that represents a QueryTable object.

Remarks

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

Example

This example adds a new Web query table to the first worksheet in the first workbook and and then imports all of the HTML <PRE> tag data all at once.

Visual Basic for Applications
Set shFirstQtr = Workbooks(1).Worksheets(1) Set qtQtrResults = shFirstQtr.QueryTables _ .Add(Connection := "URL;http://datasvr/98q1/19980331.htm", _ Destination := shFirstQtr.Cells(1,1)) With qtQtrResults .WebSingleBlockTextImport = True .Refresh End With
web single block text import Web Single Block Text Import Property websingle websingleblock websingleblocktext WebSingleBlockTextImport WebSingleBlockTextImport Property

See also: