+ Reply to Thread
Results 1 to 2 of 2

VBA ADO - .CopyFromRecordset not working?

  1. #1
    Forum Contributor
    Join Date
    08-22-2017
    Location
    USA
    MS-Off Ver
    2016 WINDOWS and MAC
    Posts
    294

    VBA ADO - .CopyFromRecordset not working?

    Hi,

    I am simply trying to import an Access query table to my excel spreadsheet. Problem is, I only get ONE column to return to my spreadsheet, which is "ID". No others populate.

    Calling the procedure:

    Please Login or Register  to view this content.
    Sub:

    Please Login or Register  to view this content.
    Thanks for the help, folks.

  2. #2
    Forum Contributor
    Join Date
    08-22-2017
    Location
    USA
    MS-Off Ver
    2016 WINDOWS and MAC
    Posts
    294

    Re: VBA ADO - .CopyFromRecordset not working?

    Hi,

    I solved the issue.... Embarrassingly, my Query returned no data because... well.. there was no data to be queried in the other fields!

    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. CopyFromRecordset
    By bamma in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-18-2010, 02:52 AM
  2. [SOLVED] SQL CopyFromRecordset
    By Bret in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-23-2006, 02:05 AM
  3. CopyfromRecordset
    By MattShoreson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-15-2006, 09:36 AM
  4. copyFromRecordset - vs - getRows
    By Chris Short in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-14-2005, 01:05 PM
  5. [SOLVED] CopyFromRecordSet vs QuerrTables
    By Justin Dearing in forum Excel General
    Replies: 0
    Last Post: 09-11-2005, 04:05 PM
  6. [SOLVED] CopyFromRecordset
    By Ernst Guckel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-01-2005, 03:06 PM
  7. [SOLVED] copyfromrecordset not working
    By hawkmoon269 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-23-2005, 01:06 PM
  8. [SOLVED] CopyFromRecordset Question
    By parityd in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2005, 12:06 PM

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