Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 



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 10:16 AM.


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