Im using the following code to open a second access database:
Dim stAppName As String
Dim retVal As Integer
stAppName = "msaccess.e xe" & "C:\PlantManage r\Plants.mdb"
retVal = Shell(stAppName , 1)
and access returns an error of File Not Found. I tried the following
variation with the same result:
Dim stAppName As String
stAppName = "msaccess.e xe" & "C:\PlantManage r\Plants.mdb"
Call Shell(stAppName , 1)
Dim stAppName As String
stAppName = "C:\Program Files\Microsoft Office\OFFICE11 \msaccess.exe" &_
"C:\PlantManage r\Plants.mdb"
Call Shell(stAppName , 1)
Dim stAppName As String
stAppName = "msaccess.e xe" & Chr(34) & "C:\PlantManage r\Plants.mdb" &
Chr(34)
Call Shell(stAppName , 1)
any thoughts
Dim stAppName As String
Dim retVal As Integer
stAppName = "msaccess.e xe" & "C:\PlantManage r\Plants.mdb"
retVal = Shell(stAppName , 1)
and access returns an error of File Not Found. I tried the following
variation with the same result:
Dim stAppName As String
stAppName = "msaccess.e xe" & "C:\PlantManage r\Plants.mdb"
Call Shell(stAppName , 1)
Dim stAppName As String
stAppName = "C:\Program Files\Microsoft Office\OFFICE11 \msaccess.exe" &_
"C:\PlantManage r\Plants.mdb"
Call Shell(stAppName , 1)
Dim stAppName As String
stAppName = "msaccess.e xe" & Chr(34) & "C:\PlantManage r\Plants.mdb" &
Chr(34)
Call Shell(stAppName , 1)
any thoughts
Comment