vba - How do I differentiate between placeholders (Tags, Id, Name) on a template and have the label stay once the template is used in the presentation -
i creating custom slide template 8 picture placeholders , 4 text placeholders. idea user "fill-in" template text , images , once macro run, values of placeholders collected , added json file. ideally, 2 picture placeholders (big_screen_i , small_screen_i) , 1 text placeholder (caption_i) collected 1 json object. set repeated 4 times on same slide.
here problems: 1) name of placeholder set in slide master view changes when more 1 of same template used (haven't pinpointed exact trigger). names change once image inserted placeholder. locating object name becomes unstable. 2) using .type of placeholder (picture vs text) doesn't differentiate between big_screen_i , small_screen_i. 3) tags , keys change or disappear when using template more once (because of repeated name). 4) unable group objects because not possible group placeholders.
is there way identify each shape/placeholder , connect added content?
note: using powerpoint 2016 .potm file
thank you!
Comments
Post a Comment