#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default DOS output

Is there a way thru which we can run DOS command thru VBA programming in Excel
--
Anupam
  #2   Report Post  
Posted to microsoft.public.excel.programming
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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Output 0 to 100 Hassan Excel Programming 7 August 15th 07 06:59 PM
Set of varibles produces one output. Need series of output. Bernie Deitrick Excel Programming 1 January 11th 07 12:00 AM
Output to CSV sanjay Excel Programming 1 February 8th 04 07:28 PM
Getting output from an excel output back to cscript.. J S Excel Programming 0 January 21st 04 09:06 PM
Too much output... PLEASE HELP! Mark Rosenkrantz Excel Programming 4 August 7th 03 03:58 AM


All times are GMT +1. The time now is 11:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"