G
Guest
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
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