+ Reply to Thread
Results 1 to 7 of 7

VBA and ADODB.Connection

  1. #1
    Registered User
    Join Date
    09-29-2010
    Location
    Livingston, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    3

    VBA and ADODB.Connection

    Hi, I have an excel 2007 file which is querying an Access 2002 database on a network using VBA and ADODB.Connection. It is working fine for all users (hundreds) however is falling down for one person. What could be different about this users setup which prevents the VBA querying the access database succesfuly.
    Kind regards
    Lee

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: VBA and ADODB.Connection

    You checked the references (VBEditor/Extra/references ) ?



  3. #3
    Registered User
    Join Date
    09-29-2010
    Location
    Livingston, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: VBA and ADODB.Connection

    Yes, references seem to be carried over to all users i.e. if I reference to something then this is the same for all users.

  4. #4
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: VBA and ADODB.Connection

    I don't think you got what I mean. You'll have to check on the local computer if the DLL's for ActiveX Data Objects are available and activated.

  5. #5
    Registered User
    Join Date
    09-29-2010
    Location
    Livingston, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: VBA and ADODB.Connection

    Maybe that I dont understand however I have checked in VB>Tools>References to ensure that ActiveX 2.8 libraries are showing a tick - do you mean that the actuall DLL file may be missing from local machine?

  6. #6
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: VBA and ADODB.Connection

    Yes you'll have to check on the local machine.

  7. #7
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: VBA and ADODB.Connection

    It might also help if you gave a bit more info than "falling down". I assume they are getting an error, but what and where?
    Remember what the dormouse said
    Feed your head

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1