Powerpoint Templates

T

Thomas Tutko

I have a powerpoint template (.pot) that looks and works great when I just
double-click the .pot file or right click and choose "New." It starts a new
..ppt with the template. I am trying to do the same thing through MS Access
code but when I use Powerpoint.Application.Presentation.ApplyTemplate, things
do not look right. The slide is in landscape mode which it is not supposed to
be. I can easily set the slide orientation back to Portrait through the code
but the sizing and location of things is still screwed up for some reason.
The only way I can get things to look right is if I do a
Powerpoint.Application.Presentations.Open("template.pot"). However, this
opens the .pot for editing, not a new presentation based on the .pot. How do
I open a new powerpoint application with the template in code, just like i
was double-clicking the .pot?

- Tom
 
D

Dr. Stephan Kassanke

Newsbeitrag [snip]....
The only way I can get things to look right is if I do a
Powerpoint.Application.Presentations.Open("template.pot"). However, this
opens the .pot for editing, not a new presentation based on the .pot. How
do
I open a new powerpoint application with the template in code, just like i
was double-clicking the .pot?

- Tom

Tom,

I just tried

Presentations.Open FileName:="my.pot", Untitled:=msoTrue

which creates a new presentation based on the template (ppt 2003). Which
office version are you using?

cheers,
Stephan
 
S

Steve Rindsberg

How do
I open a new powerpoint application with the template in code, just like i
was double-clicking the .pot?

Open the .POT and immediately save it as a presentation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top