>With Word, it is possible to select multiple pieces of text at one (using the CTRL key).
>
[quoted text clipped - 12 lines]
>Best wishes,
>Alex.
Hello Jay,
> The programmatic support for multiple selections is really crappy, and
> it hasn't improved between Word 2002 and 2003. All the usable
> information I know of is in this article:
> http://support.microsoft.com/kb/q288424/.
Thanks.
Is there a way to find out that a selection is discontiguous, or must I do a Selection,ShrinkDiscontiguousSelection every time to be sure?
Best wishes,
Alex.

Signature
Address email to user "response" at domain "alexoren" with suffix "com"
Jay Freedman - 07 Jun 2005 15:33 GMT
>Hello Jay,
>
[quoted text clipped - 9 lines]
>Best wishes,
>Alex.
I'm not aware of any other way to handle it. OTOH, it depends on what
you're doing with the selection.
If you're applying formatting of the kinds in the first list, you
don't want to shrink the selection -- that would cause the formatting
to apply only to the last piece. If you're inserting text, it doesn't
make any difference whether you shrink first or not. If you're
converting the text to a table, you have to shrink it first or else
use error-trapping.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Alex - 08 Jun 2005 01:19 GMT
Hello Jay,
> I'm not aware of any other way to handle it. OTOH, it depends on what
> you're doing with the selection.
[quoted text clipped - 5 lines]
> converting the text to a table, you have to shrink it first or else
> use error-trapping.
I just want to determine whether the selection is discontiguous or not.
Best wishes,
Alex.

Signature
Address email to user "response" at domain "alexoren" with suffix "com"