Hi All.
Just wondering how i would call a batch file from excel at a given time say 6pm every day?
any help is really appreciated
My Batch file is located in C:\My Documents\Batch1
cheers
Hi All.
Just wondering how i would call a batch file from excel at a given time say 6pm every day?
any help is really appreciated
My Batch file is located in C:\My Documents\Batch1
cheers
Last edited by Macdave_19; 11-18-2008 at 09:57 AM.
Mr MaGoo
Magoo.Inc MMVII
If i've helped please add to my Rep by Clicking on the Blue Scales in the top right hand corner of the post
You can use OnTime to run a Sub. Use Shell to execute the BAT file.
I would just put the BAT file in a Windows Scheduled Task and skip Excel.
Thanks for the ideas ken obvious and plausable lol!! why do they always seem such tough problems until you see the answer?
ha ha
Good afternoon Macdave_19
Just for completeness, this post deals with running .bat files from Excel (oddly enough, it was responded to by myself and Kenneth Hobson again) :
http://www.excelforum.com/excel-prog...-txt-file.html
HTH
DominicB
Please familiarise yourself with the rules before posting. You can find them here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks