Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Sep 2003
    Thanked 0 Times in 0 Posts

    Run-time Error 1004; General ODBC Error (2000/2002)

    I've created a VBA procedure that creates several database queries pulling from another Excel spreadsheet. I got it to work in Excel 2002 on Windows 2000, but when I ran it on a couple different machines using Win XP/ Excel 2000, I got a: "Run-time Error 1004; General ODBC Error". Is there any reason the version of Office or Windows would cause this when using MS Query?
    I also get problems when I use a different set of records in my Excel data list (the source data) even if it has the exact same file name, column headings and named range.

    Any ideas?

  2. #2
    Platinum Lounger
    Join Date
    Feb 2001
    Weert, Limburg, Netherlands
    Thanked 0 Times in 0 Posts

    Re: Run-time Error 1004; General ODBC Error (2000/2002)

    Maybe the offending machines don't have the proper ODBC drivers installed? Check in control panel, ODBC.
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    Professional Office Developers Association

Posting Permissions

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