Hi,
How can I call MS DOS commands from a Macro.
A copy file command, or any other comamand?
Thanks
Hi,
How can I call MS DOS commands from a Macro.
A copy file command, or any other comamand?
Thanks
Shell "cmd"
Be very careful with this ...
Google is your best friend!
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" <[email protected]>
wrote in message
news:[email protected]...
>
> 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
>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks