Thread
:
Name slides in PPT with VBA, or have an index?
View Single Post
03-10-2020, 04:26 AM
JohnWilson
Windows 10
Office 2016
Programmer
Join Date: Nov 2008
Location: UK
Posts: 1,912
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
JohnWilson
View Public Profile
Find all posts by JohnWilson