![]() ![]() If you save as any of the other file formats, PowerPoint will offer to remove the macros, and then, of course, the code to change one shape to another will not work! See our PowerPoint File Formats page to learn about these file formats. Before you proceed further, it’s a great idea to save your file - be sure to save as a PowerPoint Macro-Enabled Presentation with the PPTM file extension. Once you have placed this code in the VBA editor, close the window to get back to your PowerPoint window. ![]() Steve does mention on his site, “This code won’t look at groups within groups.” ![]() I think this is pretty simple code for Steve actually.” It took some puzzle-solving, but the puzzle pieces are all Steve’s. GroupItems(X).AutoShapeType = lFromType ThenĪnd now Manon could even change shapes within groups! Manon adds, “All I did was adapt the code that Steve gave me, in the way shown on his page. ' Press F2 in the VBA editor then search on AutoShapeType ' to see what the other possible autoshape types are For Each oSl In ActivePresentation.Slides Dim lFromType As Long Dim lToType As Long Dim X As Long ' Change these if you want to change from/to ' other shape types: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |