PDA

View Full Version : copy format of all the objects in the slide from one presentation to another



deepak.jha32
02-17-2016, 03:54 AM
Hi, I have one presentation with multiple slides having multiple rectangle containing graphs pictures which has been pasted from excel. Later I did custom formatting manually to make graphs more presentable and this process happens in every month (Copying graph from excel to PowerPoint and formatting manually ). As the presentation contains 30 plus slides and each slide has different formatting, so it takes a lot of time. Now I want PowerPoint vba code to loop through all the objects in each slide and copy all formats (text size, graph height, width, left, horizontal position, vertical position, size of the text box/rectangles and so on) and apply similar format in current month presentation for all the objects so that formatting will be similar. I am able to iterate through all the objects but could not find any properties which can help me in copying all the formats of object and apply it to similar objects. I have tried with pickup properties but does not get required output. I am attaching two presentations with similar slide for the reference.

I appreciate your help in advance.

Thanks,
Deepak