Command button to open another application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know how to make hyperlink or command button in Excel 2003 to open another application?
 
Sub Internet_Explorer()
Dim taskID As Variant
On Error Resume Next
taskID = Shell("start iexplore.exe")
If Err <> 0 Then _
MsgBox "IEXPLORE.EXE is not installed on your machine."
End Sub

Alternative.........

Right-click a cell and "Hyperlink".

Browse to the other application's *.exe file and OK.

Gord Dibben Excel MVP
 

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