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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Visual Basic Program from Excel

Status
Not open for further replies.

lb4paris

Mechanical
Joined
May 9, 2003
Messages
3
Location
GB
I want to open a visual basic program (an executable file) from Excel. Is there anything I can do to open it using the vba editor?

thanks in advance.
 
You can use the Shell method to launch an exe file.
Code:
Dim sFile As String
sFile = "H:\FixRef.exe"
Call Shell(sFile, vbNormalFocus)

DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top