A Anupam Soral Aug 9, 2008 #1 Is there a way thru which we can run DOS command thru VBA programming in Excel
M Mike H Aug 9, 2008 #2 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
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