Maximize Access Window with VB code

dmbfan73

Registered User.
Local time
Today, 10:58
Joined
Nov 21, 2002
Messages
13
I have an AutoExed macro that minimizes Access on startup so that my switchboard form stands alone. However, off of another form a user can select a report to print, but the report opens up in the access window, which is still minimized.

Anyone know the VB code to maximize the access window? I've tried the AppActivate and Shell commands, but can't get them to work.

Thanks!
 
I hope I understand the question.

try the following code in the event...

Docmd.Maximize
 
Thanks Casey, I didn't try that one, because I found one that works:

DoCmd.RunCommand acCmdAppRestore
 

Users who are viewing this thread

Back
Top Bottom