Using VBA to search for hyperlinks in textboxes

  • Thread starter Thread starter Adelia
  • Start date Start date
A

Adelia

Does anyone know how to search for a hyperlink address within
textboxes while in Powerpoint? I am using VBA to search for all the
hyperlinks in my PPT files. I have no problem looking for hyperlinks
within shapes. But when it comes to searching textboxes, I am
unsuccessful.

I have tried using the following:

ActiveWindow.Selection.SlideRange.Shapes(index).ActionSettings(ppMouseClick).Hyperlink

But this doesn't work. I get a blank result even though I know there
is hyperlink information stored within the text box.

I took a look at the locals windows to see what was going on and I
found the hyperlink information under

Slides -> Slide -> Tags -> Parent -> Hyperlinks

Under the hyperlinks, I found all the hyperlinks that were used in the
text box. But I don't know how to reference this information so that
I can store the hyperlink address.

Any help would be appreciated.

Thanks,
Adelia
 
Back
Top