can i record a macro from excel to invvoke another windows application

  • Thread starter Thread starter anil
  • Start date Start date
A

anil

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top