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

Can another application be started from Excel w/VBA? 1

Status
Not open for further replies.

jnameika

MIS
Mar 20, 2009
12
0
0
US
Hi, I don't have access to Schedule Tasks in Window due to our info security gustapo. So I cannot automate running some reports and hope there is a way to initiate external applications from within an Excel spreadsheet. I tried "application.run "'filename.ext'" and it cannot find the file. Is it even possible?

Thanks in advance!

Jim
 
You may consider the Shell function.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thank you! That did the trick. I have been out of "it" for too long!


Dim RetVal
RetVal = Shell("C:\WINDOWS\NOTEPAD.EXE", 1)
' Runs Notepad

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top