Shell VBA function

Did you know that you can use the Shell VBA function to launch
external applications?

Option Compare Database

'========================================================
'DATABASE DESIGNED & CODED BY LOEBLCOM SERVICES 2013
'ERIK LOEBL(713)409-7041
'EMAIL: erik@loeblcomservices.com
'WEB:   http://loeblcomservices.com
'========================================================


Private Sub btnLaunchExcel_Click()
    Dim strPath As String
    Dim strFile As String
    
    strPath = "C:\Program Files\Microsoft Office\Office14"
    strFile = "EXCEL.EXE"
    
    Shell strPath & "\" & strFile, vbNormalFocus
End Sub

Click here for the database and the code:
Shell VBA function

Offsite Related Information:

“Go Fund Me” Page


($5 suggested amount)

(…10% of your gift amount will go to charity)

Free! Subscribe To Our YouTube Channel!

Free MS Access VBA Programming Course

Facebooktwitterredditpinterestlinkedinmailby feather
Tags: