Automatic macros
Posted by John Whitacre on December 05, 2001 5:39 AM
My company designs control systems for water and waste water treatment plants. I have a PC control system for one of my projects that will required that a excel report be printed out every midnight. I have figured out how to link the data from my control software to excel but i need to print the report out. I have written a macro that will print out the worksheet but only if you press ctrl-A. I also got it to print out at a certain time only if ctrl-a has been pressed before the print time is reached. How can I have this macro automatically running all the time, waiting for mid-night to print the report?