G
Guest
Hello. I need to change the following to first check where the Access
application is depending on if it is 2000 or 2003. The 2003 would be in
C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE, so I would need a
DIR command I believe to see if the folder exists. My code is the following:
Private Sub Monthend_Loan_Database_Click()
Shell """C:\Program Files\Microsoft Office\Office\MSACCESS.EXE"" " & _
"""\\Hr\COMMON\DATABASE\Monthend Loan Reports.mdb""", _
vbNormalNoFocus
End Sub
I am not getting it to work trying to fit in for 2003. Any help
appreciated. Thanks!
application is depending on if it is 2000 or 2003. The 2003 would be in
C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE, so I would need a
DIR command I believe to see if the folder exists. My code is the following:
Private Sub Monthend_Loan_Database_Click()
Shell """C:\Program Files\Microsoft Office\Office\MSACCESS.EXE"" " & _
"""\\Hr\COMMON\DATABASE\Monthend Loan Reports.mdb""", _
vbNormalNoFocus
End Sub
I am not getting it to work trying to fit in for 2003. Any help
appreciated. Thanks!