Results 1 to 3 of 3
  1. #1
    raffi is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Mar 2014
    Location
    Inside a Sub Procedure
    Posts
    88

    export data from subform to excel


    hello , is it possible to export data from a subform to an excel sheet ?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    Apparently not with the import/export wizard.
    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
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    the sub form has a record source; because it is a sub form its record source itself does not have to have a criteria because the criteria is inherently defined by its main form cross reference

    therefore copy the record source if it is a query, or make a query if it is a table - with criteria - so that it returns the exact same recordset as does the sub form.

    open this 2nd query so you see a typical recordset and then go thru the export steps found in the ribbon - at the end be sure to save those steps with a name; then trigger this export when needed.
    Last edited by June7; 11-02-2014 at 05:43 PM.

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

Similar Threads

  1. Export Form And Subform Data To Excel Form Same Worksheet
    By tomtheappraiser in forum Import/Export Data
    Replies: 6
    Last Post: 08-12-2013, 10:39 AM
  2. How to export all data to excel?
    By s128 in forum Import/Export Data
    Replies: 5
    Last Post: 06-17-2013, 01:22 PM
  3. export data on excel file
    By Mina Garas in forum Queries
    Replies: 1
    Last Post: 12-01-2012, 02:43 PM
  4. Export to Excel from unbound subform datasheet?
    By dnme in forum Import/Export Data
    Replies: 7
    Last Post: 05-28-2012, 01:50 PM
  5. trying to export table data tpo Excel
    By itm in forum Access
    Replies: 2
    Last Post: 01-30-2012, 10:44 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