Maximize PPT via VBA

D

Dale Fye

I've got an Access application that develops a series of ppt slides in a new
ppt slideshow based on data in the database. On my system (dual monitors)
the ppt window appears on my second screen, maximized. But on several other
users systems (single monitor), ppt opens up minimized.

Does this have to do with the positioning of the template pptx file that I
am using?

I'm sure there is a method or action I can use to maximize the ppt
application on the users screen, just cannot figure out what it is.
 
S

Shyam Pillai

Dale,

Application.WindowState=ppWindowMaximized will maximize the PowerPoint
window. Are you sure that the window is minimized and it is the case of the
PowerPoint window being off the screen or something?

Regards,
Shyam Pillai

OfficeTips: http://skp.mvps.org
 
D

Dale Fye

Not really sure whether it is minimized, or just "visible" on the
non-existent second screen. When I use CreateObject to open ppt, and then
make it visible, I see the PPT button down in the task bar area of Windows,
but not a PPT window on my screen. When I click the command button on the
task bar, it expands PPT in the visible window. So I wanted to try
maximizing the window when it is opened, and see if that does it. I'll try
your suggestion and post back tomorrow.

Dale
 

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