QueryTable.PostText Property

Excel Developer Reference

Returns or sets the string used with the post method of inputting data into a Web server to return data from a Web query. Read/write String.

Syntax

expression.PostText

expression   A variable that represents a QueryTable object.

Remarks

Microsoft Excel includes sample Web queries that you can modify by changing the HTML code by using WordPad or another text editor. You can find these samples in the Queries folder where you installed Microsoft Office.

If you import data using the user interface, data from a Web query or a text query is imported as a QueryTable object, while all other external data is imported as a ListObject object.

If you import data using the object model, data from a Web query or a text query must be imported as a QueryTable, while all other external data can be imported as either a ListObject or a QueryTable.

The PostText property applies only to QueryTable objects.

See Also