Forum Discussion

Smallishbat's avatar
Smallishbat
Occasional Reader
Feb 18, 2026

Access to subAddress Property of Hyperlinks in Powerpoint Javascript API

Recently my company has me developing a Taskpane Add-in for Powerpoint using the Javascript API. Right now the API is still missing a 'subAddress' property for the Powerpoint.Hyperlink class. My heart's deepest longing is to add a slide to a presentation with existing slide-to-slide hyperlinks, check those hyperlinks for discrepancies between the slide ID and the text (ie: a Hyperlink reading '13' that now links to slide 14), and finally correct the text to the subaddress ID of the hyperlink in Javascript. It is my burning passion to do this for every hyperlink in my presentation with the push of a button. In the interest of all mankind I would ask that the 'subAddress' property of the hyperlinks be available for use in addition to the 'address' and 'screenTip' properties which now exist. To the microsoft dev who can grant me this boon I offer half my kingdom. Truly there is no dev more favoured than thee.

2 Replies

  • The PowerPoint JavaScript API currently provides only a limited set of accessible properties for the PowerPoint.Hyperlink object, specifically address and screenTip. Unlike the VBA object model, which includes the subAddress property to reference internal slide targets or bookmarks, this functionality is not yet available in Office.js for PowerPoint.

     

    May consideirng workarounds below:

     

    • Use VBA or VSTO add-ins if you need immediate access to SubAddress.
    • For Office.js, you can only manipulate external links (address) and tooltips (screenTip).

     

     

    • Smallishbat's avatar
      Smallishbat
      Occasional Reader

      Thank you for the prompt response! I'm aware that the property doesn't exist. I am asking for an update to the object to include it. I want users in my company to be able to use my add-in as a self sufficient thing. I would prefer to avoid a scenario where my support app needs its own support app.