LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default SQL Sentence from Text File

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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting a Sentence With TEXT Function Evan Excel Discussion (Misc queries) 2 February 16th 10 03:49 AM
convert text to sentence case Jacqueline Excel Discussion (Misc queries) 3 January 20th 09 10:09 PM
HYPERLINK - insert within a text sentence Jane Excel Worksheet Functions 1 September 22nd 06 06:07 PM
Sentence (text) running off grid ECC Excel Discussion (Misc queries) 0 April 28th 06 06:31 PM
Combining text and cell value to create a sentence StephanieH Excel Discussion (Misc queries) 4 June 13th 05 11:53 PM


All times are GMT +1. The time now is 12:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"