Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9144761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:20:55+00:00 2026-06-17T10:20:55+00:00

How to add hyperlink to concrete slide inside presentation using c#? For now I

  • 0

How to add hyperlink to concrete slide inside presentation using c#?
For now I have found how to Hyperlink to a site:

TextRange.ActionSettings[Microsoft.Office.Interop.PowerPoint.PpMouseActivation.ppMouseClick].Hyperlink.Address = “http://www.google.com”;

and found options to Last/First/Next

TextFrame.TextRange.ActionSettings[PpMouseActivation.ppMouseClick].Action = PpActionType.ppActionFirstSlide;

but not to slide4

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T10:20:56+00:00Added an answer on June 17, 2026 at 10:20 am

    If you add the setting manually in PowerPoint then ask it what the setting is, it’ll tell you. For example, add a link to Slide 4 to a text box, make sure the text box is selected and run this:

    Sub Thing()
        Dim oSh As Shape
        Set oSh = ActiveWindow.Selection.ShapeRange(1)
        With oSh
            Debug.Print .ActionSettings(1).Hyperlink.Address
            Debug.Print .ActionSettings(1).Hyperlink.SubAddress
        End With
    End Sub
    

    The result, a blank line (no hyperlink address) and a subaddress of:

    259,4,Title of slide 4
    

    259 is the SlideID
    4 is the SlideIndex
    “Title of slide 4” is the title text on slide 4

    I’m fairly sure the ID and Index are necessary; the title is not. For example to set a link to slide 3 in the same presentation:

    Sub ThingTwo()
        Dim oSh As Shape
        Set oSh = ActiveWindow.Selection.ShapeRange(1)
        With oSh
            .ActionSettings(1).Hyperlink.Address = ""
            .ActionSettings(1).Hyperlink.SubAddress = "258,3,"
        End With
    End Sub
    

    Doing it in c# … left as an exercise for the reader.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a dropdownlist.I want to add selected value of it to a hyperlink
I want to add a hyperlink to a social bookmarking site om my webpage
I'm setting up a website using Google Sites. If I add a hyperlink to
I have array of strings and I have to add hyperlink to every single
I have a JSP page in which there is a hyperlink to add a
How can I add a hyperlink column for a Winforms DataGrid control? Right now
How would you add a span tag to the text inside a hyperlink? Right
Is there a way to add a hyperlink inside a message box of a
how can i add image and hyperlink to an email in perl using sendmail?
I have an issue where in the SPGridView if I add a hyperlink field

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.