Results 1 to 5 of 5
  1. #1
    bkelly101 is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2011
    Posts
    5

    Export Multiple rowns into a single cell in Excel

    I need to export a list of data into a single cell in Excel.



    As an example the list looks like this in Access:
    450a
    650b
    320c
    4100d
    and exports into individual cells. I need it to export into one cell and look like this:
    450a, 650b, 320c, 4100d

    Any help would be appreciated.

    Thanks.
    Brenda

  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,902
    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
    bkelly101 is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2011
    Posts
    5
    Hi...Thanks for the information.

    First question, can this be used in Access 2003? How do I download the VBA function ConcatRelated?

  4. #4
    bkelly101 is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2011
    Posts
    5
    Here is how I need it to look. Please help with the actual query. Thank you.
    TableName TblHouses
    QueryName QryHouses
    TblHouses
    Fields ID (AutoNumber) House (Text) Colour (Text)
    1 Greeley Green
    2 Greeley Orange
    3 Greeley Blue
    4 Crestwood Blue
    5 Crestwood Pink
    6 Crestwood White
    Results to look
    Greeley Green, Orange, Pink
    Crestwood Blue, Pink, White

  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,902
    The code is good for Access 2003.

    Copy/paste the code from the web page.

    Attempt code in your database and when you have specific issue, post question.

    The query would call the function in an expression.

    This topic has been discussed in other threads:
    https://www.accessforums.net/access/...ain-24474.html
    https://www.accessforums.net/queries...row-23882.html
    Last edited by June7; 09-19-2012 at 02:15 PM.
    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: 4
    Last Post: 06-10-2012, 02:29 PM
  2. Export a value to specific Excel cell
    By gg80 in forum Import/Export Data
    Replies: 5
    Last Post: 07-23-2010, 01:58 PM
  3. importing a single cell from excel onto access
    By virus100 in forum Import/Export Data
    Replies: 0
    Last Post: 03-20-2010, 11:57 AM
  4. Import single cell from excel
    By zippy483 in forum Import/Export Data
    Replies: 9
    Last Post: 02-24-2010, 02:16 PM
  5. Can we post Access cell data to Excel cell properties?
    By Zethro in forum Import/Export Data
    Replies: 1
    Last Post: 12-13-2005, 08:42 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