View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JS[_5_] JS[_5_] is offline
external usenet poster
 
Posts: 2
Default Open current database method


unless test is a variable that contains the string value
of the password, test shuld be "test"

dba.OpenCurrentDatabase filepath:=stgPath,[Exclusive =
false], bstrPassword = "test"



cheers
Juan


-----Original Message-----
Can anyone tell me why this code is not working I have

the
correct information need to support opening the access
database, but this one line keeps failing.

I have never used the Exclusive or the Password part of
this code. How can I do this correctly.

Thank You

dba.OpenCurrentDatabase filepath:=stgPath,[Exclusive =
false], bstrPassword = test
.