+ Reply to Thread
Results 1 to 3 of 3

Trying to Query Access Database from Excel using VBA

  1. #1
    Registered User
    Join Date
    11-18-2008
    Location
    Dallas
    Posts
    67

    Trying to Query Access Database from Excel using VBA

    Hi All,
    I am trying to query MS Access from Excel and return the result set back to Excel. Below is the query I am running but I am getting a Run Time Error '1004' Application Defined or Object Defined error. The line in Red below is what is erroring out. Any help is greatly appreciated.


    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Trying to Query Access Database from Excel using VBA

    Try this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    11-18-2008
    Location
    Dallas
    Posts
    67

    Re: Trying to Query Access Database from Excel using VBA

    Norie, thanks for replying, I tried what you suggested and I still get the same error on the same line.

+ 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