+ Reply to Thread
Results 1 to 2 of 2

Pulling a Query from Excel via Access

  1. #1
    Registered User
    Join Date
    11-18-2008
    Location
    Richmond, VA
    Posts
    18

    Pulling a Query from Excel via Access

    I am trying to write some VBA code that pulls an Acess query I have already designed in Access through the Query function of Excel. I have successfully written one that does this but need some help in kaing one of the words a variable. You see, I have multiple queries and would like my macro to know run through them using a string variable that I give it. When I run the following code, I get this error: "General ODBC error", and the debugger highlights the very last line of the code below ".Refresh BackgroundQuery:=False"

    PLEASE HELP! Thanks!

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    11-18-2008
    Location
    Richmond, VA
    Posts
    18

    Re: Pulling a Query from Excel via Access

    Nevermind, I found my own stupid error and it works.

+ 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