Results 1 to 2 of 2
  1. #1
    objNoob is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    21

    Executing Query to Excel?

    I'm designing a form in Access and I'd like the user to be able to click a command button that executes a query and opens the results in Excel, instead of displaying the results in Access.



    I want the user to be able to use Excel to decide what she or he would like to do with the results.

    Any suggestions on how to accomplish this?

  2. #2
    objNoob is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    21
    I was able to achieve this using CreateObject("Excel.Application") and saving my query as a RecordSet which allowed me to pass that to Excel.

    Thanks to all who took a looksee!

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

Similar Threads

  1. Replies: 1
    Last Post: 08-31-2009, 10:24 AM
  2. Privileges problems whe executing a query
    By admaldo in forum Security
    Replies: 0
    Last Post: 04-27-2006, 07:22 AM
  3. Replies: 0
    Last Post: 04-24-2006, 06:48 AM
  4. Replies: 0
    Last Post: 04-21-2006, 08:21 AM
  5. Replies: 0
    Last Post: 04-21-2006, 06:55 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