OLE DB Query Using Cell Value as Variable

  • Thread starter Thread starter Jerry
  • Start date Start date
J

Jerry

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.
 
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top