Results 1 to 3 of 3
  1. #1
    5ricca is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2021
    Posts
    2

    Question Button to export a column to a Word file


    I have a form that shows specific table columns and one of the columns is E_Mail -> I would like to create a button in this form that will export the E_Mail column (all the e-mails in a row, or each in one line, does not matter) into a Word file. Can someone help me with this?
    I only found the function DoCmd.TransferText but this exports the whole table to a text file, and I want to export only one column. Is it even possible?

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    5,007
    So use a query of one column and transfer that?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,956
    Export a query that pulls the one field.
    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: 10
    Last Post: 09-21-2020, 06:51 AM
  2. Replies: 7
    Last Post: 09-27-2018, 01:08 PM
  3. How to make report fields export w/out tabs to Word/RTF file?
    By faithmarian in forum Import/Export Data
    Replies: 0
    Last Post: 12-10-2015, 04:33 PM
  4. Replies: 15
    Last Post: 07-10-2013, 01:27 PM
  5. Replies: 6
    Last Post: 05-11-2010, 02:22 PM

Tags for this Thread

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