![]() |
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 |
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 |
All times are GMT +1. The time now is 01:23 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com