Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
strawberryangel83 strawberryangel83 is offline
external usenet poster
 
Posts: 13
Default putting symbol at end of each word

i want to put a comma at the end of each word in a column in a table. how do
i do that?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default putting symbol at end of each word

Assuming there is only one word in each cell in the column, the following
macro will put a comma after each word in the column containing the cursor.
Empty cells are ignored

Dim oCell As Cell
With Selection.Columns(1)
For Each oCell In .Cells
If Len(oCell.Range) 2 Then
oCell.Range.InsertAfter Chr(44)
End If
Next oCell
End With

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"strawberryangel83" wrote in
message ...
i want to put a comma at the end of each word in a column in a table. how
do
i do that?



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default putting symbol at end of each word

Assuming there is only one word in each cell in the column, the following
macro will put a comma after each word in the column containing the cursor.
Empty cells are ignored

Dim oCell As Cell
With Selection.Columns(1)
For Each oCell In .Cells
If Len(oCell.Range) 2 Then
oCell.Range.InsertAfter Chr(44)
End If
Next oCell
End With

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"strawberryangel83" wrote in
message ...
i want to put a comma at the end of each word in a column in a table. how
do
i do that?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
In word 2007 how can I enter a square root symbol. Not in Symbol Eric Hasper Microsoft Word Help 3 May 11th 23 08:48 AM
Can I add a custom symbol to the symbol list in word? Tim Microsoft Word Help 4 May 2nd 23 08:49 PM
Unwanted paragraph symbol putting dots between words Pamunkey Hawk Microsoft Word Help 10 December 8th 10 06:28 PM
putting more than one job on resume in Word duh New Users 3 March 11th 08 10:26 AM
Putting Letterhead on Word RMC at Focus Microsoft Word Help 3 February 23rd 05 09:33 PM


All times are GMT +1. The time now is 05:42 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"