Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-24-2012, 12:32 PM
YounesB3 YounesB3 is offline How to keep links within your powerpoint slide even if you change slides Windows XP How to keep links within your powerpoint slide even if you change slides Office 2010 32bit
Advanced Beginner
How to keep links within your powerpoint slide even if you change slides
 
Join Date: Jul 2012
Posts: 37
YounesB3 is on a distinguished road
Default How to keep links within your powerpoint slide even if you change slides

I have a slide with many links which refer to other slides. For instance, it refers to slide 8,9,10,...,30.



What I want is to keep all those links in the same slide fixed regardless of if I move or delete those slides.

Example:

In slide #1, I have : Link A to slide 27

I move slide 27 to slide 45 (these are all random numbers by the way). I want the link A to still redirect to slide #27 and NOT #45.

Is this possible somehow?

Thank you,
Reply With Quote
  #2  
Old 07-24-2012, 01:03 PM
Cosmo Cosmo is offline How to keep links within your powerpoint slide even if you change slides Windows Vista How to keep links within your powerpoint slide even if you change slides Office 2007
Competent Performer
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default

To my knowledge, no (at least not with normal hyperlinks). If you want the link to refer to a specific slide number, instead of a specific slide, then you will need to relink yourself after shifting the slide(s). The only links that will not be linked to a specific slide are 'First Slide', 'Last Slide', 'Next Slide' and 'Previous Slide'

This is the generally desired result, as any link would normally be expected to relate to the content on the specific slide, regardless of it's position in the presentation, so PowerPoint retains the link to the same content when it is repositioned (and if it didn't, it would be a nightmare when a change needed to be made to a large document). The only way I can see that would work would be to use a VBA Macro for your hyperlink.
Reply With Quote
  #3  
Old 07-24-2012, 01:08 PM
YounesB3 YounesB3 is offline How to keep links within your powerpoint slide even if you change slides Windows XP How to keep links within your powerpoint slide even if you change slides Office 2010 32bit
Advanced Beginner
How to keep links within your powerpoint slide even if you change slides
 
Join Date: Jul 2012
Posts: 37
YounesB3 is on a distinguished road
Default

Quote:
Originally Posted by Cosmo View Post
This is the generally desired result, as any link would normally be expected to relate to the content on the specific slide, regardless of it's position in the presentation, so PowerPoint retains the link to the same content when it is repositioned (and if it didn't, it would be a nightmare when a change needed to be made to a large document). The only way I can see that would work would be to use a VBA Macro for your hyperlink.
Thanks for the fast reply. The thing is I have to replace a bunch of powerpoint slides whenever there are updates. How could I do the macro?
Reply With Quote
  #4  
Old 07-24-2012, 01:38 PM
Cosmo Cosmo is offline How to keep links within your powerpoint slide even if you change slides Windows Vista How to keep links within your powerpoint slide even if you change slides Office 2007
Competent Performer
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default

Quote:
Originally Posted by YounesB3 View Post
Thanks for the fast reply. The thing is I have to replace a bunch of powerpoint slides whenever there are updates. How could I do the macro?
Something like the following, change the SlideNumber from 10 to whichever slide you need.

Dim slideNumber As Integer
Dim maxSlideNumber As Integer
Dim ssw As SlideShowWindow

Set ssw = Application.SlideShowWindows(1)
slideNumber = 10

maxSlideNumber = ssw.Presentation.Slides.Count
If slideNumber > 0 And slideNumber <= maxSlideNumber Then
ssw.View.gotoSlide slideNumber
Else
MsgBox "Slide number invalid - '" & slideNumber & "'."
End If
Reply With Quote
  #5  
Old 07-24-2012, 01:44 PM
YounesB3 YounesB3 is offline How to keep links within your powerpoint slide even if you change slides Windows XP How to keep links within your powerpoint slide even if you change slides Office 2010 32bit
Advanced Beginner
How to keep links within your powerpoint slide even if you change slides
 
Join Date: Jul 2012
Posts: 37
YounesB3 is on a distinguished road
Default

Quote:
Originally Posted by Cosmo View Post
Something like the following, change the SlideNumber from 10 to whichever slide you need.

Dim slideNumber As Integer
Dim maxSlideNumber As Integer
Dim ssw As SlideShowWindow

Set ssw = Application.SlideShowWindows(1)
slideNumber = 10

maxSlideNumber = ssw.Presentation.Slides.Count
If slideNumber > 0 And slideNumber <= maxSlideNumber Then
ssw.View.gotoSlide slideNumber
Else
MsgBox "Slide number invalid - '" & slideNumber & "'."
End If
I'll try it when I'll have to update it, thanks.
Reply With Quote
  #6  
Old 07-25-2012, 12:28 AM
JohnWilson JohnWilson is offline How to keep links within your powerpoint slide even if you change slides Windows 7 64bit How to keep links within your powerpoint slide even if you change slides Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

You can avoid having lots of macros and just use this one for ALL links:
Code:
Sub gotoALT(oshp As Shape)
On Error Resume Next
SlideShowWindows(1).View.GotoSlide (CLng(oshp.AlternativeText))
End Sub
All you need do then is copy paste the button and change the Alt Text for each shape to the slide needed.

Right Click>Size/Position > Alt Text (use the Description box in 2010)
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #7  
Old 06-25-2014, 05:19 PM
bhardjono bhardjono is offline How to keep links within your powerpoint slide even if you change slides Windows 7 64bit How to keep links within your powerpoint slide even if you change slides Office 2007
Novice
 
Join Date: Jun 2014
Posts: 1
bhardjono is on a distinguished road
Default

This is not a reply. But how do I keep hyperlinks to the correct targets even when some of the slides in between are deleted or moved ?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which slides are using Which MAster Slide? Aoresteen PowerPoint 0 07-03-2011 01:50 PM
How do I change just one slides background in PP and not all of them cnunn PowerPoint 1 01-13-2011 12:17 PM
[PowerPoint 2010] Change font for all slides in an exist *.PPTX file LongTTH PowerPoint 0 12-15-2010 02:07 AM
Auto-Duplicate Placeholder on the Same Slide - Across Many Slides lstanga PowerPoint 3 11-22-2010 09:27 AM
How to link PowerPoint slides? king PowerPoint 0 07-19-2010 07:36 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft