Darchorse Posted May 12, 2009 Share Posted May 12, 2009 I have an application that produces a CSV file filled with Data each hour 24/7. I need Excel (2007) to automatically import this data into a spreadsheet and process the data as soon as the csv file is produced by the application. Is there a way for excel to "listen" for when the csv file is created and then do the import using Autoit or any other way?? TIA Darc Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 12, 2009 Share Posted May 12, 2009 I have an application that produces a CSV file filled with Data each hour 24/7. I need Excel (2007) to automatically import this data into a spreadsheet and process the data as soon as the csv file is produced by the application. Is there a way for excel to "listen" for when the csv file is created and then do the import using Autoit or any other way?? TIA DarcCheck the directory contents in a loop with FileExists(), FileFindFirstFile()/FileFindNextFile() or _FileListToArray() until you find what you're waiting for. What have you tried already? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Darchorse Posted May 12, 2009 Author Share Posted May 12, 2009 Check the directory contents in a loop with FileExists(), FileFindFirstFile()/FileFindNextFile() or _FileListToArray() until you find what you're waiting for. What have you tried already? Nothing yet, just finding out the possibilities. Thanks for the advice I'll look into this Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now