Results 1 to 2 of 2
  1. #1
    Tomlon is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    7

    Exporting Query results to Excel with VBA

    I have a collection of queries that I need to export to Excel using VBA (From Access 2010 to compatible files for Excel 2007/2010). I would like each query to be placed in a newly created workbook in seperate worksheets (again, all in same workbook). Something similar to this:

    Query1 - Into Worksheet labled Query1
    Query2 - Into Worksheet labled query2
    Query3 - Into Worksheet labeled query3



    So, with a click, I would like to have a Workbook created and the queries inserted into these worksheets. Any help is appreciated.

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Query contents are deleted after exporting the query results
    By alfcee in forum Import/Export Data
    Replies: 6
    Last Post: 11-13-2012, 09:35 AM
  2. Exporting query to Excel. Almost there
    By Wombat in forum Import/Export Data
    Replies: 13
    Last Post: 04-10-2012, 01:38 PM
  3. Query Exporting to Excel
    By Coffee in forum Queries
    Replies: 2
    Last Post: 07-18-2011, 07:42 AM
  4. Exporting Query to Excel
    By jvera524 in forum Import/Export Data
    Replies: 0
    Last Post: 12-06-2010, 09:16 AM
  5. Exporting Query Results to an existing Excel Workbook
    By Dnphm in forum Import/Export Data
    Replies: 3
    Last Post: 07-13-2010, 11:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums