Thread: DOS output
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default DOS output

Hi,

One way would be to open Notepad and put your Dos commands in a file and
save it as (say) mydos.cmd

Then in Excel try
mydosresponse = Shell("C:\MyDos.cmd", 1)

Have a look at Shell help for what you can do with the second numeric
argument.

Mike

"Anupam Soral" wrote:

Is there a way thru which we can run DOS command thru VBA programming in Excel
--
Anupam