title: excel macro to execute multiple query & fetch records
body: <p>As of now i have only one standard database connection (via menu or toolbar) which is working fine. however i would like to fetch records for three different period ( each sheet can have different query). before positing this i did various attempts but i couldn't able to fetch any record via macro. i am looking for suggestion or direction to implement my requirement.</p>
  
  <p>cell A1 = "name".</p>
  
  <p>for,sheet1: select "name" from testDB</p>
  
  <p>for,sheet2: select "name" from testDB where data >= abc &amp; date &lt;=xyz</p>
  
  <p>for,sheet3: select "name" from testDB wehre data >= xyx</p>