ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Calling DOS commands in VBA (https://www.excelbanter.com/excel-programming/309216-re-calling-dos-commands-vba.html)

Don Guillett[_4_]

Calling DOS commands in VBA
 
look in vba help for
shell

--
Don Guillett
SalesAid Software

"Andy" wrote in message
...
I would like to create an Excel macro and call a DOS command from within

the
macro. The DOS command I am using is

cd c:\TEST
blat - -to " -subject "TEST" -body "TEST"

Any help is appreciated.

Thanks





All times are GMT +1. The time now is 10:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com