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

  • Home
  • SEARCH
  • 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 881921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:20:34+00:00 2026-05-15T12:20:34+00:00

I`m looking for a way to read a links between slides in single PowerPoint

  • 0

I`m looking for a way to read a links between slides in single PowerPoint presentation. I need to open a PowerPoint file and retrieve all links slides have to each other.

Right now I`m using Aspose but it appears they do not have anything to read links between slides.

I’ve read some more about the PowerPoint 2007/2010 file format and found out that it`s just a zip archive. After renaming it you can see all the xml data inside it. Does anybody know which one of the many xml files inside it contains information what slide is linked and to what slide?

I need to do it in C# or VB.NET.

  • 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-05-15T12:20:34+00:00Added an answer on May 15, 2026 at 12:20 pm

    There’s no need to go to OpenXML here if you don’t have to – this can be done with the Object Model. Here’s how it is done in VBA, which can easily be ported to C# or VB.NET.

    Sub PrintInteralLinks()
        Dim ap As Presentation
        Set ap = ActivePresentation
        Dim hs As Hyperlinks
        Dim h As Hyperlink
        Dim sl As Slide
        Dim linkedToSlide As String
        Dim slideTitle As Integer
        For Each sl In ap.Slides
            Set hs = sl.Hyperlinks
            For Each h In hs
                slideTitle = InStrRev(h.SubAddress, ",")
                If slideTitle > 0 Then
                    linkedToSlide = Mid(h.SubAddress, slideTitle + 1)
                    Debug.Print sl.Name & " links to " & linkedToSlide
                End If
            Next
        Next
    End Sub
    

    The slideTitle = InStrRev(h.SubAddress, ",") isn’t fool-proof though. The pattern for internal links is #,#,Slide Title, so you may have to make this better with like some RegEx.

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

Sidebar

Related Questions

Please note - I am not looking for the right way to open/read a
Looking for a way to read the following config file sample using a multi
Looking for a way to enable someone to upload a single file which will
I am looking for a way to read an input file and print only
I am looking to see a simple way to read from and write to
I'm looking for a way if you know the location where to read the
I'm looking for a faster way to calculate GC content for DNA strings read
I'm looking for the most time-efficient way to read STDIN line-by-line. The first line
I am looking for a stored procedure code that will open a text file,
I'm looking for way to PHP to detect if a script was run from

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.