Results 1 to 3 of 3

Thread: Want help to add commas after a text in every cell of Microsoft Excel

  1. #1
    Join Date
    Feb 2012
    Posts
    11

    Want help to add commas after a text in every cell of Microsoft Excel

    I have a list of about 23,000 emails. I need to make an E-mail blast. The only way I know how to do that is by adding a comma at the end of each one. How can I save the hassle of inserting a comma manually into each cell.

  2. #2
    Join Date
    Jun 2011
    Posts
    798

    Re: Want help to add commas after a text in every cell of Microsoft Excel

    In an adjacent helper column (column B), put this in B1 and copydown =A1&",". Then do Copy > PasteSpecial > Values on that column to get rid of the formulas.

  3. #3
    Join Date
    May 2011
    Posts
    523

    Re: Want help to add commas after a text in every cell of Microsoft Excel

    Here's a short macro that will do this:
    Code:
    Sub AddComma()
    Dim cell As Range
    For Each cell In Selection
    If cell.Value <> "" Then
    cell.Value = cell.Value & ","
    Else: cell.Value = cell.Value
    End If
    
    Next cell
    
    End Sub
    Place the code in a general module.Select the range of cells in question then run the macro.

Similar Threads

  1. Text Center in Cell is not working in Microsoft Excel
    By Genesee in forum MS Office Support
    Replies: 2
    Last Post: 23-02-2012, 01:16 PM
  2. How to fix maximum text in single cell of Microsoft Excel
    By Irritator in forum MS Office Support
    Replies: 2
    Last Post: 03-02-2012, 07:47 PM
  3. Cell text disappear in Excel
    By Sanju Baba in forum Windows Software
    Replies: 2
    Last Post: 07-01-2012, 08:05 PM
  4. Replies: 2
    Last Post: 06-01-2012, 04:15 PM
  5. Replies: 0
    Last Post: 18-03-2009, 10:00 PM

Tags for this Thread

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
  •  
Page generated in 1,714,018,801.46906 seconds with 16 queries