Hallo Enrico,
thanks. Your sample works, but furthermore only in the first frame of a document.
Is there a way to scan all frames of a document and replace something?
Tank
fp wrote:Hallo Enrico,
thanks. Your sample works, but furthermore only in the first frame of a document.
Is there a way to scan all frames of a document and replace something?
Tank
fp wrote:Hello Enrico,
sorry, but your code only checks the first frame with me.
your first
oRng := oDoc:StoryRanges[wdTextFrameStory]
returns in oRng:Text only the content of the first frame, not of the others.
And if cSrc is not in oRng:Text, then "AT(cSrc,cRng:Text) > 0" is false and the function exit before "looping".
Nevertheless, many thanks for your efforts
fp wrote:Hello Enrico,
I've just sent the doc to your private mail-adress.
Thanks
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 97 guests