excel vba - Add Contents of Cell to VBA Query -


I would like to update my code to include the contents of a cell, S3. , Tested 'and the related part of the query looks like this:

  select from dbo how many WHERE id = "& TextBox1  

help you Very appreciated

How about something like this?

  Some SQL strings as some SQL = "f" Please specify * how much WHERE id = "& Textbox 1 text and _" and source in ("and Sheet 1.Cells (3, 19) & amp;")  

Name the appropriate sheet for the required "Sheet 1".


Comments