G
Guest
Suppose I have grouped a textbox and some sort of graphic. Now I select just
a part of the text.
ActiveWindow.Selection.Type will show as ppSelectedText, but I cannot use
ActiveWindow.Selection.TextRange to get at the selected text, because VBA
says the selection consists of multiple shapes. (??? This problem doesn't
exist if we're not talking about grouped shapes.) I have thrashed around
trying various techniques, and examined a lot of objects in debug, but I
can't seem to find any place or path that will lead me to something that
represents *only* the selected text.
I'd like (in VBA) to get a textrange that represents *just* the selected
text. Is that possible? How?
Thanks!
a part of the text.
ActiveWindow.Selection.Type will show as ppSelectedText, but I cannot use
ActiveWindow.Selection.TextRange to get at the selected text, because VBA
says the selection consists of multiple shapes. (??? This problem doesn't
exist if we're not talking about grouped shapes.) I have thrashed around
trying various techniques, and examined a lot of objects in debug, but I
can't seem to find any place or path that will lead me to something that
represents *only* the selected text.
I'd like (in VBA) to get a textrange that represents *just* the selected
text. Is that possible? How?
Thanks!