Supercharge your PowerPoint productivity with

Supercharge your PPT Productivity with PPTools - Click here to learn more.

Tell me about PPTools

Make links and action settings visible


PPTools
Shape Styles brings the power of styles to PowerPoint. Apply complex formatting with a single click
Merge Excel, CSV or tab-delimited data into PowerPoint presentations to create certificates, awards presentations, personalized presentations and more
FixLinks prevents broken links when you distribute PowerPoint presentations
Optimizer saves disk space and bandwidth, shrinks your PowerPoint presentations to the right size for email, screenshow or printing
PPT2HTML gives you full control of PowerPoint HTML output, helps meet Section 508 accessibility requirements
Prep4PDF preserves interactivity in PowerPoint presentations when you convert to PDF
Image Export converts PowerPoint slides to JPG, PNG, GIF, WMF and more

Problem

If you apply action settings or hyperlinks to text, PowerPoint reformats the text so it's obvious that the text is a link.
If you apply action settings or hyperlinks to text boxes or other shapes, there's no visible "cue" that there's a link (other than the hand cursor and tooltip when you move the cursor over the linked shape).

Solution

Run this macro on your presentation to give all shapes with action settings/hyperlinks an outline (edit the code to change the outline color and weight to suit your own requirements)

Sub OutlineLinks()

    Dim oSh As Shape
    Dim oSl As Slide

    For Each oSl In ActivePresentation.Slides
        For Each oSh In oSl.Shapes
            If oSh.ActionSettings(ppMouseClick).Action <> ppActionNone Then
                ' Change this to get different colors:
                ' eg RGB(0,255,0) would be green
                oSh.Line.ForeColor.RGB = RGB(255, 0, 0)
                ' Change this to get different line weights
                oSh.Line.Weight = 2
            End If
            If oSh.ActionSettings(ppMouseOver).Action <> ppActionNone Then
                ' Change this to get different colors:
                ' eg RGB(0,255,0) would be green
                oSh.Line.ForeColor.RGB = RGB(255, 0, 0)
                ' Change this to get different line weights
                oSh.Line.Weight = 2
            End If
        Next oSh
    Next oSl

End Sub

See How do I use VBA code in PowerPoint? to learn how to use this example code.

Search terms:visible,link,hyperlink,action,setting


Page copy protected against web site content infringement by Copyscape Contents © 1995-2008 Stephen Rindsberg, Rindsberg Photography, Inc. and members of the MS PowerPoint MVP team. You may link to this page but any form of unauthorized reproduction of this page's contents is expressly forbidden.

Español    Deutsch    Français    Português    Italiano    Nederlands    Greek    Japanese    Korean    Chinese



Supercharge your PPT Productivity with PPTools


content authoring & site maintenance by
Friday, the automatic faq maker (logo)
Friday - The Automatic FAQ Maker

Make links and action settings visible
http://www.pptfaq.com/FAQ00643.htm
Last update 09 September, 2006