On 13 Mai, 14:37, Jean-Guy Marcil
<JeanGuyMar...@discussions.microsoft.com> wrote:
> > Hi Jean-Guy,
>
[quoted text clipped - 9 lines]
>
> You mention the macro recorder. What did you do with the recorder?
I used the macro recorder to see what Word does when replacing the
text in a far less time. The text was replaced correctly but the
recorded code didn't work when i called it from the Word editor.
Jean-Guy Marcil - 14 May 2008 13:35 GMT
> <JeanGuyMar...@discussions.microsoft.com> wrote:
> >
[quoted text clipped - 3 lines]
> text in a far less time. The text was replaced correctly but the
> recorded code didn't work when i called it from the Word editor.
It is true that the Built-in Find/Replace is much faster than paragraph
iteration.
That being said, I am really confused here.
In your original post, you wrote, and I quote:
"i wonder how fast the normal word replace function (Edit->Find/
Replace) is able to replace nested text in text boxes or tables. i
want to automatically do this for text in tables within text boxes
(Textbox->Table->TableCell->Text). the only approach i had so far is
to
- iterate through each Shape (and if it's a textbox)
- select the table within and
- replace the text
"
This query means that you want to replace a certain string of text, but only
for instances that occur within tables that are inside a text box.
This cannot be done with the the built-in "Find/Replace" (Edit > Replace...).
So, again, how did you use the macro recorder to achieve this?