Re: Text Runs in VBA? by Klaus
Klaus
Tue Oct 25 19:59:25 CDT 2005
"Abhishek" <abhishekbagga_at_hotmail.com> wrote:
>A textrun specifies the collection of continous text with same formatting
> In a paragraph whenever there is a change in formatting that constitutes
> the a RUN
> Total number of runs in a paragraph is equal to the total no of changes in
> formatting within the paragraph
>
> In WordML it is denoted by <w : r>
Hi Abhishek,
No, unfortunately not. I've asked for a VBA method that returns the range of
the text run, given some position in the doc. And maybe if you and enough
others ask for something like that too, it might get implemented some day
(... shouldn't be too hard to implement, I'd think, and would be very useful
to speed up macros in lots of situations, since it would avoid the necessity
to look at individual characters).
If you can, you might just work with the WordML?
Regards,
Klaus