ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Dos commands from excel (https://www.excelbanter.com/excel-programming/288021-dos-commands-excel.html)

KevGrn114

Dos commands from excel
 
Is there a way to have excel run a dos command and get the results

Thanks
Kevin

Tom Ogilvy

Dos commands from excel
 
You can use Shell. (see help for details).

How you would get the results would depend on the command that you ran. In
general, using shell would not return the results to the calling
application.

--
Regards,
Tom Ogilvy

"KevGrn114" wrote in message
...
Is there a way to have excel run a dos command and get the results?

Thanks,
Kevin





All times are GMT +1. The time now is 08:22 AM.

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