Hi All,
I have process that i have to do for my company every month. In short what i do is, i open a program on my desktop and run a bunch of reports, those reports all make individual excel workbooks. I have created a macro to run through all of those workbooks, give me the information that i need all summed up in one workbook, and make a final draft of what i need to look at for the company. This process used to take me a total of about a week to do. Well i have shortened that process now with the macro that i have stated. The only thing that i would like to do now is to automate the entire process. Just to create the reports from my external application can take many hours, so i would like to be able to use that time elsewhere. What i am looking for is another macro to access that application from my desktop, i think through the shell function, and then to run all of the reports on its own. The reports all get run the same way each month so i was thinking if there was some way to control the mouse and keyboard basically from excel vba. What i would want to do is when i have the program open i would basically "record" myself running through the process and be able to code it so that the macro will do this. First off is this possible? second could someone write me just a sample of vba to do something like this, maybe using the microsoft notepad as an example where it will open it, type something and then click somewhere that way i can get a real example of every function i would use and be able to curtail it to my needs. Thanks for any help in advance.
Bookmarks