Results 1 to 4 of 4
  1. #1
    swedni is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Dec 2014
    Posts
    9

    Export query to a csv file.


    Is it possible to export a query to a CSV file whit macro?

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Yes. Use the TransferText Macro Action.
    What you usually want to do is go through the process once manually, and just before you export the file, click on the Advanced Tab and save the Export Specification. Then use that Export Specification in the TransferText Action.

  3. #3
    swedni is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Dec 2014
    Posts
    9
    Many thanks. You solved the problem for me.

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    You are most welcome.
    Glad to help!

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

Similar Threads

  1. Replies: 2
    Last Post: 10-15-2014, 02:23 AM
  2. Replies: 1
    Last Post: 08-12-2013, 09:27 AM
  3. Export Query to .ODS file starting at a specific cell
    By Baldeagle in forum Import/Export Data
    Replies: 4
    Last Post: 03-20-2013, 01:03 PM
  4. Replies: 1
    Last Post: 06-09-2011, 11:10 PM
  5. Export a simple query result to an excel file
    By wop_nuno in forum Import/Export Data
    Replies: 1
    Last Post: 05-21-2009, 04:18 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