>Hi:
>
[quoted text clipped - 5 lines]
>
>-- Roy Zider
Hi Roy,
Check the value of Selection.Hyperlinks.Count. If it's 0, the
selection doesn't contain (and isn't contained in) a hyperlink. If
it's greater than 0, then the selection contains one or more
hyperlinks.
If the value is 1, you can look at Selection.Type to decide whether
the selection is extended (might contain regular text in addition to
the hyperlink) or collapsed (is inside the hyperlink).
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
fubar01@cyberonic.com - 11 Feb 2005 20:59 GMT
Jay:
Great idea -- thanks. It would have been too simple to allow this sort
of interrogation to be a property or return value of .type or
.information.
-- Roy