Using VBA to search for hyperlinks in textboxes

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top