In VBA for PowerPoint, as far as I understand, this code gets only the first shape in the active window and nudges it:
Set oShape = oSlide.Shapes(1) oShape.Left = oShape.Left + 5
And if I wanted to nudge all the shapes, I would use a loop for this.
But how can I get and nudge only certain shapes, based on their number?
For example, let's say I have only 3 shapes in the active window. What if I want to nudge shape 1 and shape 3, but I don't want to touch shape 2. How could I do that?