If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Iterate through shape's master shapes
Hi,
I prepared master slide M1 with one special shape. I put into that shape some information ( in tags property). Now I am creating new slides A,B,C and I use that one master slide M1 for this and I add new shapes on that new slides A, B, C. What I want to achieve is go through all new slides, then get shape which belongs to master slide and change its text to something different on each slide. But in Shapes collection in current slide there is no master's slide. So I check myPresentation.Slides[i].Master.Shapes[j] and I found my special shape with tag data inside. Then I change text ... and it is changed on each slides not only current one. Can I set master slide shape's text to different values ? Regards, Piotr |
#2
|
|||
|
|||
Iterate through shape's master shapes
Shapes / Text on the master will appear (the same) on all slides using that
master. You would have to have duplicate masters. -- john ATSIGN PPTAlchemy.co.uk Free PPT Hints, Tips and Tutorials http://www.pptalchemy.co.uk/powerpoi...tutorials.html "Beautiful Piotr" wrote: [i] Hi, I prepared master slide M1 with one special shape. I put into that shape some information ( in tags property). Now I am creating new slides A,B,C and I use that one master slide M1 for this and I add new shapes on that new slides A, B, C. What I want to achieve is go through all new slides, then get shape which belongs to master slide and change its text to something different on each slide. But in Shapes collection in current slide there is no master's slide. So I check myPresentation.Slides.Master.Shapes[j] and I found my special shape with tag data inside. Then I change text ... and it is changed on each slides not only current one. Can I set master slide shape's text to different values ? Regards, Piotr |
#3
|
|||
|
|||
Iterate through shape's master shapes
On 2/10/10 10:01 AM, Beautiful Piotr wrote:[i]
Hi, I prepared master slide M1 with one special shape. I put into that shape some information ( in tags property). Now I am creating new slides A,B,C and I use that one master slide M1 for this and I add new shapes on that new slides A, B, C. What I want to achieve is go through all new slides, then get shape which belongs to master slide and change its text to something different on each slide. But in Shapes collection in current slide there is no master's slide. So I check myPresentation.Slides.Master.Shapes[j] and I found my special shape with tag data inside. Then I change text ... and it is changed on each slides not only current one. Can I set master slide shape's text to different values ? Regards, Piotr What John said and ... What version of PowerPoint are you using? Slide masters have changed over the years so you might not be accessing the master properly. --David -- David M. Marcovitz Author of _Powerful PowerPoint for Educators_ http://www.PowerfulPowerPoint.com/ Microsoft PowerPoint MVP Associate Professor, Loyola University Maryland |
Thread Tools | |
Display Modes | |
|
|