Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

launching another application from within excel

Status
Not open for further replies.

aschouela

Programmer
Dec 11, 2002
2
CA
I am developping an application using VBA withing the Excel environment. I am using Mac OS X. I am having trouble launching a seperate application from within my application. I have tried using the Shell command but I cannot seem to get it to work.

any suggestions?
 
I have written the following code. This is the example that was given in the Help file.

Dim RetVal
RetVal = Shell("Macintosh HD:Applications:Calculator", vbNormalFocus) ' Run Calculator.

Are their any settings that have to be set in order for this to work. I have checked the path. It is correct.

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top