Results 1 to 2 of 2
  1. #1
    henry is offline Novice
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Sep 2010
    Posts
    1

    Question I still don't know how to connect ACCESS 2010 by ADO

    Here is my connection string

    mydata = ThisWorkbook.Path & "\WDataBase3.accdb"
    With Cnn
    .Provider = "Microsoft.ACE.OLEDB.12.0"
    .Properties("Data Source") = mydata


    .Properties("Jet OLEDB:database Password") = "123456"
    .Open
    End With

    I am trying to connect ACCESS 2010 from EXCEL 2010 VBA by ADO.
    The problem is always NOT A VALID PASSWORD pop-up, but the password is correct.
    I have searched a lot of webs, some of which suggest something about front-end and back-end password. but I don't know what that means. what shall I do exactly? I don't know if there is difference between ACCESS 2010 and ACCESS 2007?

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    try searching google on "ado not a valid password"

    is it possible that you're not running 12.0? your profile says that you're running Access 2010, and version 12.0 is Access 2007.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Access 2010
    By Desstro in forum Access
    Replies: 8
    Last Post: 01-19-2016, 04:09 PM
  2. Replies: 5
    Last Post: 03-29-2009, 07:20 AM
  3. how to connect ms access to sql
    By marianne in forum Access
    Replies: 22
    Last Post: 03-24-2009, 11:14 AM
  4. connect from access to sql
    By kathyc in forum Programming
    Replies: 0
    Last Post: 09-28-2008, 12:50 PM
  5. very slow when connect to access 2000
    By pureland in forum Access
    Replies: 0
    Last Post: 10-23-2007, 05:42 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums