Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default OLE DB Query Using Cell Value as Variable

Is it possible to use a cell value in my query? My Command Text is
EXEC sp_get_excel and I'd like to add a date to that by entering it in
an empty cell.

Thanks.

--
Jerry
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 595
Default OLE DB Query Using Cell Value as Variable

On Mon, 24 Mar 2008 12:13:14 -0700 (PDT), Jerry wrote:

Is it possible to use a cell value in my query? My Command Text is
EXEC sp_get_excel and I'd like to add a date to that by entering it in
an empty cell.


Jerry: I'm not familiar with that syntax in CommandText. Is that running a
stored procedure? What database is on the back end? Could you use SQL
syntax instead of a stored procedure?
--
Dick Kusleika
Microsoft MVP-Excel
http://www.dailydoseofexcel.com
Reply
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
ADO SQL syntax query, using a variable Spike Excel Programming 2 March 8th 07 08:11 AM
Deleting variable web query name wayliff[_13_] Excel Programming 1 January 17th 06 08:57 PM
With QUERY how to input a variable Guillaume Excel Discussion (Misc queries) 1 December 8th 05 02:28 PM
put query result into variable andy[_6_] Excel Programming 1 October 24th 05 07:39 AM
Query that returns a value to variable mas Excel Programming 0 March 7th 05 09:22 PM


All times are GMT +1. The time now is 01:19 AM.

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

About Us

"It's about Microsoft Excel"