View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
schumacker schumacker is offline
external usenet poster
 
Posts: 2
Default Excel VBA - Executing external programs in an excel macro

Hi everyone:

I want to execute a dos cmd program from an excel macro. Which is the
way to do this?? Is there ary "ExecProgram" method in VB??

Example:

1. I want to execute the "ping" command from my excel macro.
2. The parameters for the ping command are the ip destination address
(abc.def.ghi.jkl).

If anyone knows how to do this, i will be very thankful.

Schumacker