Click here to Skip to main content
15,896,348 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
Does any one how to open a .Exe files for a button click macro.

I have a requirement like I have to open Google Earth by clicking a button in Excel.

I have to write a macro for this button click to open google earth directly.

Can any one suggest me how to do this task?
Posted
Comments
Sergey Alexandrovich Kryukov 3-Dec-12 12:49pm    
First of all, what do you mean by "open .exe"? What are you going to do with the open file? Run the application or what?
--SA

1 solution

You can use Workbook.FollowHyperlink[^] to open an application.

See Open any file or application[^] for some examples.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900