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: 2,069
Default SQL statement slower when refering to cells.

I have a long sql statement that refers to cells to use as parameters. The
query takes about 20 secs to run if I refer to the cells. For example I'm
refering to cell [C3] for the YEAR parameter. If I hard code the year into
the sql statement it takes about 2 secs to run. Any ways around this?
TIA... John..
 
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
macros making files slower and slower Raja Excel Discussion (Misc queries) 1 May 9th 08 12:26 AM
Refering to Cells madh83 Excel Worksheet Functions 3 July 19th 06 11:39 PM
Refering cells between worksheets In Need Excel Worksheet Functions 2 November 23rd 05 07:22 PM
Calculating Cells - Slower in Smaller File Diane Alsing Excel Discussion (Misc queries) 0 February 4th 05 04:17 PM
Conditional formatting refering to another cells' value gizmo Excel Worksheet Functions 1 January 12th 05 01:06 PM


All times are GMT +1. The time now is 09:10 AM.

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"