J
John Svendsen
Hi All,
I have a macro that substitutes one string for another in PPT - however, if
there are 2 or more occurences of the same string in a same shape, only the
1st occurence is replaced, not the others.
Below is the piece of my replace code:
=========================================
If shp.HasTextFrame Then
If shp.TextFrame.HasText Then
shp.TextFrame.TextRange.Replace FindWhat:=sFirst, _
Replace:=sLast, MatchCase:=True, WholeWords:=True
End If
End If
=========================================
(OBS: word replace has the wdFindContinue in the Wrap property - I do not
see this in PPT, does it exist?)
Thanks in advance for any ideas.
Regards, JS
I have a macro that substitutes one string for another in PPT - however, if
there are 2 or more occurences of the same string in a same shape, only the
1st occurence is replaced, not the others.
Below is the piece of my replace code:
=========================================
If shp.HasTextFrame Then
If shp.TextFrame.HasText Then
shp.TextFrame.TextRange.Replace FindWhat:=sFirst, _
Replace:=sLast, MatchCase:=True, WholeWords:=True
End If
End If
=========================================
(OBS: word replace has the wdFindContinue in the Wrap property - I do not
see this in PPT, does it exist?)
Thanks in advance for any ideas.
Regards, JS