Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-10-2020, 04:26 AM
JohnWilson JohnWilson is offline Name slides in PPT with VBA, or have an index? Windows 10 Name slides in PPT with VBA, or have an index? Office 2016
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,913
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

You can name the selected slide easily
Code:
ActiveWindow.Selection.SlideRange(1).name="myName"
The names must be unique and you can refer to the slide with
Code:
ActivePresentation.Slides("myName")
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a I create an index in a word document where index entries control sections of the document? pfriorda Word 3 12-28-2017 08:02 PM
Get Paragraph index from bookmark starting index vince692 Word VBA 6 05-13-2016 04:51 AM
Name slides in PPT with VBA, or have an index? Pulling Specific Slides from a Deck to create new slides ColinW PowerPoint 2 07-17-2015 11:30 AM
Name slides in PPT with VBA, or have an index? Difference between Slides.addSlide and Slides.Add? tinfanide PowerPoint 3 12-29-2012 11:55 PM
Inserting slides between existing slides in 2003 watsonstudios PowerPoint 1 05-20-2011 08:15 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:59 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