title: How do I store a SQL statement into a variable
body: <p>I am currently facing a problem here. I have a column called "DESC1" in a table called "Master". I'm trying to retrieve the value based on something along the lines of this...</p>
  
  <pre><code>"Select DESC1 FROM Master WHERE '" &amp; TextBox1.Text &amp; "' "
  </code></pre>
  
  <p>And I'm trying to display on the excel beside both correctString1 and correctString</p>
  
  <pre><code> oWB.Sheets(1).Range("A2", "K2").Insert(Shift:=Excel.XlDirection.xlDown)
   oWB.Sheets(1).Range("E2").Value = " " &amp; correctString1 &amp; " : " &amp;  correctString &amp; " "
  </code></pre>
  
  <p>Hope you can help me out.</p>