View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default can i record a macro from excel to invvoke another windows application

On Mar 30, 11:01 am, "anil" wrote:
Hi all,

Is it possible to write a macro from ecxel which can invoke another
windows application. if so please let me know......

Thanks and Regards
Anil.Hungund


This is taken from VBA Help for the Shell function:

Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator

Put the full path to the .exe file within the quotes.

Hope this helps.

Pete