B
Burnsie
Hi,
Environment (XP, PPT12) -- Programmatically create/edit hyperlink
I need to find out when a shape (textbox, placeholder, etc) is selected if
the textframe is selected (if the shape has a textframe) or the container.
The reason is that I want to set a hyperlink and therefore I need to know
which portion of the shape is actually selected. Also, how do I figure out
which shapes don't have a textframe.
For instance, if the user selects the shape (i.e., circle) but not the
textframe within the shape, then there is not a .TextToDisplay property.
However, if the user selects the textframe, even though there may be no text,
then I will need to handle .TextToDisplay.
In the case where the textframe is selected but no text is selected or no
text exists, I am unable to set the .TextToDisplay. I am told that this
object type doesn't have this property (basically "unknown") even though it
does. As long as some text is selected my code works fine.
Thanks for any help in pointing me in the right direction.
Burnsie
Environment (XP, PPT12) -- Programmatically create/edit hyperlink
I need to find out when a shape (textbox, placeholder, etc) is selected if
the textframe is selected (if the shape has a textframe) or the container.
The reason is that I want to set a hyperlink and therefore I need to know
which portion of the shape is actually selected. Also, how do I figure out
which shapes don't have a textframe.
For instance, if the user selects the shape (i.e., circle) but not the
textframe within the shape, then there is not a .TextToDisplay property.
However, if the user selects the textframe, even though there may be no text,
then I will need to handle .TextToDisplay.
In the case where the textframe is selected but no text is selected or no
text exists, I am unable to set the .TextToDisplay. I am told that this
object type doesn't have this property (basically "unknown") even though it
does. As long as some text is selected my code works fine.
Thanks for any help in pointing me in the right direction.
Burnsie