Sustaining data in placeholders

  • Thread starter Thread starter Anisha
  • Start date Start date
A

Anisha

I have a custom layout which includes three placeholders. When a slide is
inserted with this custom layout, I set tags on the placeholders indicating
it as data1, data2,data3 respectively.

On insertion of any object (image / video /chart ) etc into this
placeholder, the tags property is lost. Ive also noticed that the ID and Name
property also changes.

Is there any property that remains constant inspite of any user action?

The only properties that remain constant are the visual effects property. I
cannot go ahead with an approach that uses this propery because the user
could go ahead and change this value from the tool bar options / context menu
option.

Can anyone please help me out. I need a property that will remain constant.
HELP! Please!
 
This doesn't directly addresses the question, but Steve's response gave me
the following idea when I was searching for a way to reference a placeholder
after deleting its content.

If you have a placeholder containing content (e.g. a chart) and you delete
that content, PP inserts the new placeholder Steve mention at the END of the
shapes index. So, you can reference the new placeholder (i.e. the one that
appears to have previously contained the deleted content) by using:

With ActiveWindow.Selection.SlideRange(1)
Set oShp = .Shapes(.Shapes.Count)
End With
 
Back
Top