Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Executing dos command

I need to create a link in excel cell which can execute set of dos commands.
Can anybody help me out?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Executing dos command

You should be able to use the Shell statement for that, but the DOS session
will not be able to pass back information to you (well, you could redirect
it out to a file and read it back in, but that is sort of messy). I'm
willing to bet if you tell us the DOS commands you want to execute, someone
here should be able to give you a VBA equivalent to execute.

Rick


"Furqi" wrote in message
...
I need to create a link in excel cell which can execute set of dos
commands.
Can anybody help me out?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Executing dos command

Hi,

Use Notepad to put your set of Dos commands in a file and save as (say)

myfile.bat

and create a hyperlink to it in a cell on your worksheet. Clicking the
hyperlink will execute them.

Mike

"Furqi" wrote:

I need to create a link in excel cell which can execute set of dos commands.
Can anybody help me out?

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
Executing a command when clicking on a tab Bob Excel Programming 6 August 28th 07 01:00 AM
How to Stop VBA from executing hon123456 Excel Programming 6 November 23rd 06 05:23 PM
executing an add in Gary Keramidas Excel Programming 6 November 6th 05 09:56 PM
Error when executing 'Charts.Add' command vbaprog Excel Programming 2 September 15th 05 07:09 PM
What macro is executing? Ken Loomis Excel Programming 3 October 13th 04 05:39 AM


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

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"