Thank you so much for all your help. I managed to write it correctly ( I
think ). I'm just having one issue. When I leave the file path out of the
code, Access opens successfully. When I add the file path to the code, I get
"file not found" error message. I know the file path is correct, and I've
tried the same routine using Excel and an Excel file. I receive the same
results. If I only include the program reference in the code, it works fine.
As soon as I add a file path, I get the error message. I've included my
code here. Do you see anything wrong with it? :
Private Sub OpenPersonnel_Click()
On Error GoTo Err_OpenPersonnel_Click
Dim stAppName As String
stAppName = SysCmd(acSysCmdAccessDir) & "msaccess.exe" & "C:\Documents
and Settings\rdevine\Desktop\ISO Databases\Personnel Control Process.mdb"
Call Shell(stAppName, 1)
Exit_OpenPersonnel_Click:
Exit Sub
Err_OpenPersonnel_Click:
MsgBox Err.Description
Resume Exit_OpenPersonnel_Click
End Sub