TIP: Click on subject to list as thread! ANSI
echo: ms_word
to: CHRISTOPHER GREAVES
from: LAWRENCE KELLIE
date: 1997-01-25 12:23:00
subject: Macro needed!

 > MI>EditReplace .Find = "^p^p", .Replace = "$$$", .Direction = 0, 
MatchCase
 > = 0
 > MI>EditReplace .Find = "^p", .Replace = "", .Direction = 0, .MatchCase = 
,
 > MI>EditReplace .Find = "$$$", .Replace = "^p^p", .Direction = 0, 
MatchCase
 > = 0
 > I haven't run this macro, but I think it fails where a document
 > has four or more consecutive .
Actually her code is quite good.  Just run it as often as is needed.
However, if I want to remove ^p^p or more, I just run a Replace (All) for 
^p^p to ^p.  The first time you run it, you will receive a dialog box listing 
how may replacements it accomplished.  I keep repeating the Replace until 
that dialog box gives 0 (or 1) as the number of replacements.  No need to do 
anything fancier than that.
Lawrence
... The IRS does it annually.
--- FMail 1.0g
---------------
* Origin: Cala Creek Resort (in seclusion) (1:343/70.164)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.