ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   run external programs (https://www.excelbanter.com/excel-discussion-misc-queries/264381-run-external-programs.html)

Stephen Miller

run external programs
 
I want to make another program run from from excel. Is this possible?

Gord Dibben

run external programs
 
Yes it is possible but need more details.

Here is an example of VBA using Shell to run a small utility application.

Sub Convert_units()
On Error Resume Next
Shell ("C:\Utilities\Convert\Converter.exe"), vbNormalFocus
If Err < 0 Then _
MsgBox "Converter.exe is Missing"
End Sub


Gord Dibben MS Excel MVP

On Mon, 24 May 2010 08:23:02 -0700, Stephen Miller <Stephen
wrote:

I want to make another program run from from excel. Is this possible?




All times are GMT +1. The time now is 05:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com