View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default send command line to the RUN BOX

Use the Shell Function.

See VBA help for a description and an example.
--
Gary''s Student - gsnu200908


"TKM" wrote:

I need to place this command line in the "run box" so it will fire off our
companies HDE program. Does anyone know how to pass this to the run box? Or
is their another way to do this?

cmd.exe /k
"c:\program
files\netinst\niinst32.exe",/Execute:{189BF419-4CDS-4311-9CVF-F98C0ETB6A86}
/install

PS..the liccense key number has been changed to protect our company of course.

Thanks for all your help