Results 1 to 5 of 5
  1. #1
    riaarora is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2012
    Posts
    25

    Export multiple queries into a single spreadsheet in different range of cells

    Dear All,



    I need to export multiple queries into a single spreadsheet in different range of cells. Means one query need to be exported from B2:E2 and second query need to be exported from B10:E10. In this way need to export 18 queries' result into one sheet only on different name range.

    If anyone has sample VBA code then please help to post it.

    Any help would be appreciated. I am using Access 2007 and need to export data into Excel 2003 format.


    Thanks a lot for the help.

    Regards
    Ria

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    riaarora is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2012
    Posts
    25
    Thanks for the quick respone. I want to export the data in a particular cell range e.g. 1st query should export the data from Cell B1 to D7. And 2nd query from B10 to D15 and so on. I have total 13 queries which need to be exported into same sheet in different range cell.

  4. #4
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    See my response at this cross posting

    http://www.access-programmers.co.uk/...33#post1162633

    Alan

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    The link I referenced has example code for exporting data to specific cells of designated sheet in workbook. That and the references by Alan should give enough guidance to attempt code for your circumstances. Make attempt and post for analysis if you encounter specific issue.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 1
    Last Post: 03-12-2012, 02:21 PM
  2. Replies: 1
    Last Post: 02-02-2012, 08:55 AM
  3. Replies: 7
    Last Post: 08-05-2011, 10:59 AM
  4. Replies: 2
    Last Post: 12-03-2009, 08:08 AM
  5. Excel exporting in single cells
    By Paolo29011982 in forum Import/Export Data
    Replies: 0
    Last Post: 07-29-2009, 04:48 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