Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Saving a excel document after data refresh

$
0
0

Hi Guys

 

Sorry im new to autoit and coding in general i have a basic understanding.

 

Heres what im trying to do and i hope someone can help.

 

I need to open a excel document that retrieves data from sql and then saves the excel files with todays date.

 

Basically we are pulling reports daily to see who does what in our warehouse. 

 

The problem is the data refresh once the excel document is open takes about 5 minutes to generate.

 

Here is my starting code of just opening the document. 

"

run('"C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE" "C:\Test"')
"
the sheet will pull the data automatically but how do i get the script to save the file AFTER the data has been recieved and with todays date.
 
Regards
Red

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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