Back to Blog
Changing picture shapes in powerpoint6/18/2023 ![]() If shape.Type = msoPicture Or shape.Type = msoEmbeddedOLEObject Then ![]() Set slideShapes = ActivePresentation.Slides(2).Shapes 'Überprüfen, ob auf Folie 2 ein Bild oder eine Tabelle vorhanden ist Any help to automate the clicking or updating the states when entering the first slide is highly appreciated! Sub Shape_Clickfor2(ByVal shp As shape) Here is the working code to change the color depending on the informations (pictures/tables) on a specific slide. With this version aswell, I was'nt successfull to make it work until now. There I have the problem that no code I tried seemed to work in that regard, because I couldnt write a code that clicks every shape on the first slide once.Īnother approach would be to have one code, that scans all shapes on the first slide, somehow gets the information on which slide should be checked for pictures/tables to change its color, and then change the color. One way I can imagine is to have a macro set behind a neutral shape on the first slide, so that when this one is clicked a macro is executed, which executes all the macros that are put behind the other shapes and change their color accordingly. The goal is to make it work, so that when opening the presentation (first slide is shown) all macros behind the shapes are executed automatically and you always see the current situation displayed at the first slide. This works fine with multiple shapes referring to a different slide each, but each shape has to be clicked manually to update (green/grey). I have created a macro that can be put behind a shape on the first slide as an on-click action, which changes its colour to either green or grey when clicking on the shape in presentation mode. Basically one shape referring to one slide of the presentation, so that when looking just on the first slide, you see which topics (slides) have been filled with information (i.e. Just a couple of clicks and you're on your way to using slides that go miles beyond a simple rectangular placeholder.I want to have multiple shapes at the first slide of a powerpoint presentation, that turn either green or grey depending on whether there is a picture or linked excel-table on a specific slide. You can now add this custom layout to your slide decks, and drag and drop pictures into the customized placeholder. From the Drawing Tools Format tab, choose Group, and group the two slide objects.Ĭlose the Master view and you're done. ![]() Select the image placeholder first, then select the second shape you've added. Add a second shape (or edit the points of the existing shape) to the master.Ĥ. Now, just move the shape wherever you want on the master slide. From the Slide Master tab, choose Insert Placeholder | Picture.Ģ. Once you're there, get started by adding a new layout.ġ. after you learn how to access the PowerPoint master slides by going to View | Slide Master. How to Create a Custom Picture Placeholder One of those ways is to create a custom picture placeholder on a Master slide. This feature makes it very easy to add your own signature look and feel to slide decks. PowerPoint provides several ways to quickly tweak the built-in templates.
0 Comments
Read More
Leave a Reply. |