title: How to set a parameterized query in excel based on a cell value
body: <p>I have the following query: </p>
  
  <pre><code>Select login, Acc_open_time, Acc_Close_time from accounts
  </code></pre>
  
  <p>I've imported the query successfully on Excel
  but my problem im trying to set the open time and close time as a dynamic value; this means Cell A1 = open_time and Cell A2 = Close_time 
  when I enter the values in Cell A1 and A2 </p>
  
  <p>the query becomes like this: </p>
  
  <p>Example: </p>
  
  <pre><code>Cell A1 = 2019-07-01 00:00:00
  Cell A2 = 2019-07-10 00:00:00 
  </code></pre>
  
  
  
  <pre><code>Select login, Acc_open_time, Acc_Close_time from accounts
  Where Acc_open_time='2019-07-01 00:00:00' And  Acc_Close_time = '2019-07-10 00:00:00' 
  </code></pre>
  
  <p>I've tried googling it I couldn't find any answer related to parameterized query for MySQL in excel </p>
  
  <p>Any suggestions?</p>