Syntax

expression.WebDisableDateRecognition

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 turns off date recognition so that Web page data that resembles dates is imported as text. The example then refreshes the query table.

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 .WebDisableDateRecognition = True .Refresh End With
web web disable date recognition Web Disable Date Recognition Property webdisable webdisabledate WebDisableDateRecognition WebDisableDateRecognition Property

See also: