title: Excel: Use a cell value as a parameter for a SQL query
body: <p>I'm using MS Excel to get data from a MySQL database through ODBC.<br>
  I successfully get data using an SQL query. But now I want that query to be parameterized.<br>
  So I wonder If it is possible to use a cell value (a spreadsheet cell) as a parameter for such a query.<br>
  For example, for this query:</p>
  
  <pre><code>select name from user where id=1
  </code></pre>
  
  <p>I'd like to get the id value from, say, cell D4 in the spreadsheet.</p>
  
  <p>Is that the proper approach to parameterize a query? and how can I do it?</p>
  
  <p>Thanks.</p>