Sets the SQL statement of a Query Table.
Syntax
XL3QueryTableSetSQL( SheetName, QueryTableName, SQL )
Parameters
Parameter | Description |
SheetName | Name of the worksheet where the Query Table is located. |
QueryTableName | Name of the Query Table. |
SQL | The new SQL statement to use. |