Link to home
Start Free TrialLog in
Avatar of Bryce Bassett
Bryce BassettFlag for United States of America

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
Presentations.Open filename:="c:\project\mytemplate.potx", Untitled:=msoTrue, ReadOnly:=msoFalse

Open in new window

  But the default shape properties do NOT carry over to these new presentations.  

What am I missing?
ASKER CERTIFIED SOLUTION
Avatar of John Korchok
John Korchok
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bryce Bassett

ASKER

Thanks, both.

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.