I didn't receive a response to a previous post where I was trying to use a batch file to close and open a workbook at a scheduled time everyday. I was thinking about this problem over the weekend, and thought that it would probably be easier to just use a macro to close the file at a certain time everyday (if it is open) and then use a batch file to open the file a couple of minutes later.
I'm having problems with what I thought should be pretty simple though. I tried this to close the file at 5:15pm
I sat and watched as 5:15 rolled around, but nothing happened. (The title bar in the VBA code window is constantly flashing {Module 2 (Code)] though)Please Login or Register to view this content.
Any suggestions on why this isn't working?
Bookmarks