Open a Program

  • Thread starter Thread starter Guest
  • Start date Start date
Sub Convert_units()
Dim taskID As Variant
On Error Resume Next
Shell ("C:\Utilities\Convert\Converter.exe"), vbNormalFocus
If Err <> 0 Then _
MsgBox "Converter.exe is Missing"
End Sub

Adapt to suit the *.exe you want to run


Gord Dibben MS Excel MVP
 
Thankyou Gord
Worked like a charm

Gord Dibben said:
Sub Convert_units()
Dim taskID As Variant
On Error Resume Next
Shell ("C:\Utilities\Convert\Converter.exe"), vbNormalFocus
If Err <> 0 Then _
MsgBox "Converter.exe is Missing"
End Sub

Adapt to suit the *.exe you want to run


Gord Dibben MS 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