Bryce Bassett
asked on
PowerPoint VBA: Set default shape properties in template?
Hope this is simple. My client wants their default shape to be set to a certain color with no outline. So I created that shape in a presentation, right click and "Set as Default Shape." As long as I am working in that presentation, most new shapes I create have those characteristics.
So far, so good.
I tried setting default shape properties in a .potx presentation template, then saved the template, assuming new presentations created based based on that template will inherit those default shape properties from the template. I'm using my typical VBA method for creating a presentation based on a temple, namely
What am I missing?
So far, so good.
I tried setting default shape properties in a .potx presentation template, then saved the template, assuming new presentations created based based on that template will inherit those default shape properties from the template. I'm using my typical VBA method for creating a presentation based on a temple, namely
Presentations.Open filename:="c:\project\mytemplate.potx", Untitled:=msoTrue, ReadOnly:=msoFalse
But the default shape properties do NOT carry over to these new presentations. What am I missing?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Duh! I was pointing to the wrong resource folder looking for my .potx, so my macro was pulling up an old copy where I had not made the change. Silly mistake.
Yes, it does work to Set the Default Shape in a .potx, which is then sticky for presentations created base on that template. Thanks both for the quick response.