L
LCK
Hi
When you write a SQL Query for a QueryTable of Pivot Table, you have
to parse the query in order not to exceed 255 chars -if you're storing
the SQL Query in a string variable-.
PivotTables
========
ActiveCell.PivotTables(1).PivotCache.SQL
QueryTables
=========
ActiveCell.QueryTables(1).CommandText
Is it possible to read the SQL string from a text file?
Thanks
When you write a SQL Query for a QueryTable of Pivot Table, you have
to parse the query in order not to exceed 255 chars -if you're storing
the SQL Query in a string variable-.
PivotTables
========
ActiveCell.PivotTables(1).PivotCache.SQL
QueryTables
=========
ActiveCell.QueryTables(1).CommandText
Is it possible to read the SQL string from a text file?
Thanks