Create a .bat file and Shell to it.
Sub AAA()
Shell "H:\test.bat"
End Sub
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"MrDan8"
wrote in message
...
Hi,
How can I call MS DOS commands from a Macro.
A copy file command, or any other comamand?
Thanks
--
MrDan8
------------------------------------------------------------------------
MrDan8's Profile:
http://www.excelforum.com/member.php...o&userid=35330
View this thread:
http://www.excelforum.com/showthread...hreadid=556166