View Single Post
 
Old 03-10-2020, 04:26 AM
JohnWilson JohnWilson is offline Windows 10 Office 2016
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,912
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