+ Reply to Thread
Results 1 to 2 of 2

exporting a column of data in excel to comma separated list in Word

  1. #1
    Registered User
    Join Date
    05-20-2013
    Location
    Central Texas
    MS-Off Ver
    Excel 2003
    Posts
    1

    exporting a column of data in excel to comma separated list in Word

    I am using Office 2003 with Win 7. I have a list for approximately 40,000 emails and other data in Excel. I need to have the emails exported from the Excel column to a list in Word separated by commas, basically so that they can be put into emails to send out information in group emails to customers. I have saved a portion in an Excel format, a CSV format. Then I have opened the CSV format in Word but it gives me the emails in list. Now I can add the "comma, space, delete" and bring everything into more or less one paragraph looking group but not for 40K. Is there a way I can do this either by exporting from Excel or opening in Word? I have attached Test files in Excel, CSV and Word.
    Thanx in advance.
    Attached Files Attached Files
    Last edited by momma_hav; 05-21-2013 at 03:26 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: exporting a column of data in excel to comma separated list in Word

    In Excel, go to sheet 2 and in A1 use this formula

    =INDEX(Test1!$A$1:$A$4000, (ROW(A1)-1)*256 +(COLUMN(A1)))
    Copy that all the way across (shortcut, CNTRL SHFT Right Arrow and then CNTRL + R)
    and down (and also across) as far as you need it. (modify the range if you are going over A4000 in sheet1.)

    Now save sheet2 as a CSV and open it in Word
    To remove paragraph breaks every 256 entries, then CNTRL H > search for ^p and replace with ,
    Did that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1