Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88030

excel macro to execute multiple query & fetch records

$
0
0

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.

cell A1 = "name".

for,sheet1: select "name" from testDB

for,sheet2: select "name" from testDB where data >= abc & date <=xyz

for,sheet3: select "name" from testDB wehre data >= xyx


Viewing all articles
Browse latest Browse all 88030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>