Please see sample .ppt file attached.
What I am trying to achieve: On slide 1 I have several shapes. If you run the slideshow you will see that OnClick shapes will appear from Left to Right. Other shapes starting at the same X-axis position will appear WithPrevious. (slide 1 is a demo. The actual slide is as shown in slide 2)
On slide 2 I have the same shapes. I want to be able to programmatically add the OnClick and WithPrevious animations to the shapes on a slide (as described above).
Note that the shape names are not necessarily in sequential order going from Left to Right.
This may help. I will have an array that has the data from which the shapes are created. eg.
X-position of left edge | ShapeName | ColorID |
Note: ColorID is one of 4 possible. So call it 1 to 4 (say)
The data in the array will be in the ascending 'X-position of left edge' sequence