Re: Using VBA to replace text



Have a look at David's post if you haven't already, but if that doesn't help,
post the relevant bits of code you're using at this point and show us an
example or two of the specific text you're searching/replacing (in context)

In article <fe2551187qhq71najemmad2431i08lb3q2@xxxxxxx>, Jeff Jones wrote:
> Steve and David,
> The only problem I'm having is that I need to replace a phrase and not
> single words. I don't have a one to one match between the original
> and the needed replacement.
>
> I've tried placing double quotes around both the find and the
> replacement text.
>
> I've tried including all three line in the text-frame and don't get a
> match because the current text has line breaks in it.. I therefore
> added Chr(10) and Chr(13) to the end of the first two lines. The
> lines are still run together and therefore I don't get a hit with the
> find.
>
> I've tried taking a subset of the line that needs to be changed and
> still don't get a match. However, when I take a word, the
> find/replace works fine.
>
> Does PP or the find/replace not allow me to replace a phrase?
>
> Do have any ideas? Am I relegated to changing 150+ presentation
> manually? Sigh.....
>
> Thank you for your time,
> Take care,
> Jeff
>
> On Mon, 04 Apr 2005 17:47:48 EDT, Steve Rindsberg
> <abuse@xxxxxxxxxxxxx> wrote:
>
> >In article <3be051l6t3h1viufptivns16uof6mu6h6n@xxxxxxx>, Jeff Jones wrote:
>

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================


.


Loading