I am able to get code work if a user and password are defined on the access db.
pw = ty
ud = "Admin"
' Path to Transfers.mdb
MyConn = "d:\personal\tely\pickeraccuracy.mdb"
Set cnn = New ADODB.Connection
With cnn
.Provider = "Microsoft.Jet.OLEDB.4.0"
.Open MyConn, ud, pw
End With
Set rst = New ADODB.Recordset
rst.CursorLocation = adUseServer
But I can not get it to work if a password is used for everything and not difined to a specific usergroup. When I try to use the same code as above I get:
"Cannot start your application. The workgroup information file is missing or opened exclusively by another user."
both access and excel are the same version of the suite.
Any ideas?
Thanks
Tim
pw = ty
ud = "Admin"
' Path to Transfers.mdb
MyConn = "d:\personal\tely\pickeraccuracy.mdb"
Set cnn = New ADODB.Connection
With cnn
.Provider = "Microsoft.Jet.OLEDB.4.0"
.Open MyConn, ud, pw
End With
Set rst = New ADODB.Recordset
rst.CursorLocation = adUseServer
But I can not get it to work if a password is used for everything and not difined to a specific usergroup. When I try to use the same code as above I get:
"Cannot start your application. The workgroup information file is missing or opened exclusively by another user."
both access and excel are the same version of the suite.
Any ideas?
Thanks
Tim