title: Excel cell value as SQL Server Connection parameter
body: <p>I'm trying to get SQL Server 2012 data into Excel 2013.</p>
  
  <p>You can see my sample command text. If I write date parameter manually, like this:  </p>
  
  <pre><code>set @dt = getdate()
  </code></pre>
  
  <p>it works well. But I need to pass it the Excel cell value, for example <code>A1</code> value as shown in the picture. Is it possible? If yes, how?</p>
  
  <p><strong>Please note</strong>: I do <strong>NOT</strong> want to use vba macro connection, need to pass it via this form only.  </p>
  
  <p><a href="https://i.stack.imgur.com/ca8l0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ca8l0.png" alt="enter image description here"></a></p>