PPT window size changes to restored on its own

  • Thread starter Thread starter c mateland
  • Start date Start date
C

c mateland

I have some complex ppa's (addins) that run upon startup of PowerPoint.
They work fine, but in v2000, the application's window size
inadvertingly becomes "restored" at the end of the run (half sized,
screen centered). I employ no code to do that, and later versions don't
have this problem, so I'm stumpted what's causing it.

I will add msgboxes to break up the code and try to determine just
where this is happening, but I wanted to ask if any VBA people here
have any clue what this might be about. What would cause the
application window size to restore on its own? I even added code at the
end to maximize, but it gets ignored.

If I narrow it down or solve it, I'll post back, but I don't want to
beat my head against the wall if others have already run into this.

Thank you,
Chuck
 
Update - if anyone has insight to this wierd problem:

I added msgboxes to find in what section of code the window was
restoring. The window restores after the last line of code ("End Sub").
So, that doesn't help me much.

It seems when the ppa is done and control is relinquished back to the
application, the window restores at that moment. So, it's not during
the code, it's after it completes. Maybe it's a delayed reaction to
something earlier in the code but I don't see a way to track it down.

Being this only happens in v2000, I'm prone to just blame the version.
For those users, I may just explain in troubleshooting they have to
maximize the window manually. Or I could have a msgbox alert them to
that after the code runs - along with advice an upgrade is long
overdue. <g>

-Chuck
 
Forget this thread.
I reduced the question down to more basic terms in a new thread,
"(simplified) PPT changes window size upon open".
 

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

Back
Top