Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Inserting a Comma in Many Cells

How can I insert a comma at the end of each entry in a long column of
e-mail addresses?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Inserting a Comma in Many Cells

try this on your selection.

sub putcomma
for each c in selection
c.value = c & ","
next
end sub

--
Don Guillett
SalesAid Software

"Ken" wrote in message
m...
How can I insert a comma at the end of each entry in a long column of
e-mail addresses?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Inserting a Comma in Many Cells

Ken

Assuming addresses in Column A.......

In B1 enter =A1&","

Double-click on the fill handle of B1 to copy down.

When happy with the results, copy Column B and Paste Special(in
place)ValueOKEsc.

Delete Column A.

Gord Dibben Excel MVP

On 8 May 2004 14:59:58 -0700, (Ken) wrote:

How can I insert a comma at the end of each entry in a long column of
e-mail addresses?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting comma(,) after every two digits of a number from right t Senapati Excel Worksheet Functions 2 October 28th 09 11:55 AM
inserting comma into date text RyanR8881 Excel Discussion (Misc queries) 2 September 30th 08 04:26 PM
How do I add a comma between a range of cells? AZ ChrisD Setting up and Configuration of Excel 5 June 20th 07 06:19 PM
Inserting a space after a comma Visual Calendar Dilemma Excel Worksheet Functions 2 September 11th 06 11:20 PM
Put all cells in one cell seperated by comma kokopoko New Users to Excel 6 August 6th 05 03:03 AM


All times are GMT +1. The time now is 01:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"