Press the Ctrl+R keys to navigate to the Project Explorer pane. If the Developer ribbon is not visible, enable it: File > Options > Customize Ribbon > check the Developer Main Tab.įrom the Developer ribbon, click the Visual Basic menu item to open the Visual Basic Editor. This ability is hidden in the VBA Editor's Properties pane, but it does not require coding. ![]() Once you know how, the door opens to some interesting possibilities, which I will demonstrate with code below. You can rename a slide manually or with VBA. MsgBox "Slide renamed to '" + newName + "'." MsgBox "Slide with this name already exists!"Ī.name = newName Set s = ActivePresentation.Slides(newName) ' check if this slide name already exists NewName = InputBox("Enter the new name for slide '" + curName + "', or press Cancel to keep existing name.", "Rename slide") ![]() In Normal view, click on the slide you wish to renameĬurName = .name ' it is for maintenance and for use only by developers of This is not used as part of the application ' Renames the current slide so you can refer to this slide in ![]() Here's some code I wrote to allow you to easily view the name of the currently selected slide and allow you to rename it: '. The slide name will never change due to inserting more slides, and it will stay the same even if you close PowerPoint the slide name set in VBA code is persistent. As Steve mentioned, you have to do it using VBA code. There is no built-in functionality in PowerPoint that allows you to edit the name of a slide.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |