Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
MathKing MathKing is offline
external usenet poster
 
Posts: 2
Default Replace Wa(end of cell) with WA(end of cell) in table (Word 2000)

I want to find and replace Wa(end of cell mark) with WA(end of cell mark) in
a table. I can't find the end of cell mark as a special character to use in
the find and replace command in Word 2000. I have other such tasks to
perform. Can someone help me, please?
  #2   Report Post  
Posted to microsoft.public.word.tables
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Replace Wa(end of cell) with WA(end of cell) in table (Word 2000)

You may need to use a macro. The following code will do it for all of the
cells in the table in which the selection is located

Dim i As Long, j As Long
Dim rng As Range
With Selection.Tables(1)
For i = 1 To .Rows.Count
For j = 1 To .Columns.Count
Set rng = .Cell(i, j).Range
rng.End = rng.End - 1
If Right(rng.Text, 2) = "Wa" Then
rng.Text = Left(rng.Text, Len(rng.Text) - 2) & "WA"
End If
Next j
Next i
End With


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"MathKing" wrote in message
...
I want to find and replace Wa(end of cell mark) with WA(end of cell mark)
in
a table. I can't find the end of cell mark as a special character to use
in
the find and replace command in Word 2000. I have other such tasks to
perform. Can someone help me, please?


  #3   Report Post  
Posted to microsoft.public.word.tables
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Replace Wa(end of cell) with WA(end of cell) in table (Word 2000)

Hi MathKing,

Find: Wa^10
Replace: WA^10

with 'use wildcards'. Do note that this will also change 'Wa' immediately preceding paragraph marks elsewhere in the document if the
Find/Replace isn't limited to the table (eg by selecting the table).

--
Cheers
macropod
[Microsoft MVP - Word]


"MathKing" wrote in message ...
I want to find and replace Wa(end of cell mark) with WA(end of cell mark) in
a table. I can't find the end of cell mark as a special character to use in
the find and replace command in Word 2000. I have other such tasks to
perform. Can someone help me, please?


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
How to copy table cell shading to another cell in Word? owyheerover Tables 8 May 1st 23 08:51 PM
Auto-populate a MS Word table cell with text from a diff cell? dreamrthts Tables 0 March 20th 09 08:56 PM
Cell referencing in table formulas - just ONE adjacent cell Ngan Tables 5 May 20th 06 02:10 AM
How do I move from cell to cell iin a table column in Word 2003? MOSwannabe Tables 4 January 26th 06 10:17 PM
How do I auto copy data from cell in a word table to another cell. Nev New Users 1 February 4th 05 08:51 PM


All times are GMT +1. The time now is 10:27 AM.

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"