Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I call MS DOS commands from Macro.
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 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I call MS DOS commands from Macro.
Shell "cmd" Be very careful with this ... -- Bearacade ------------------------------------------------------------------------ Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016 View this thread: http://www.excelforum.com/showthread...hreadid=556166 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
How do I call MS DOS commands from Macro.
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro Commands | Excel Discussion (Misc queries) | |||
Call a batch file from an Excel Macro | Excel Discussion (Misc queries) | |||
invisible macro commands? | Excel Worksheet Functions | |||
How to call a macro in an XLA add-in | Excel Discussion (Misc queries) | |||
.ONACTION macro call fails | Excel Discussion (Misc queries) |