Maximize Switchboard On Startup

C

Chris

I have a really simple question and perhaps that's why I
can't get an answer. Anyhow I am dying to know how one
would get a switchboard to maximize on startup. I already
have it so it opens on startup and I tried to run a macro
on startup that opened the switchboard and maximized but
you can only open forms on startup. PLEASE someone tell me
the answer.
 
F

Fredg

Chris,
Show the form's property sheet.
Select the Events tab.
On the Switchboard's OnOpen event property line, write:
[Event Procedure]
Then click the button with the 3 dots that appears on that line.

When the code window opens type

DoCmd.Maximize

between the 2 already exisiting lines.
Exit the code window.
Save the changes.
 
C

Chris

Thank you very much dude, that worked like a charm and
taking into account that I now next to nothing about VBA I
would have never figured that out. Thanks again!
Chris
-----Original Message-----
Chris,
Show the form's property sheet.
Select the Events tab.
On the Switchboard's OnOpen event property line, write:
[Event Procedure]
Then click the button with the 3 dots that appears on that line.

When the code window opens type

DoCmd.Maximize

between the 2 already exisiting lines.
Exit the code window.
Save the changes.

--
Fred

Please reply only to this newsgroup.
I do not reply to personal e-mail.


Chris said:
I have a really simple question and perhaps that's why I
can't get an answer. Anyhow I am dying to know how one
would get a switchboard to maximize on startup. I already
have it so it opens on startup and I tried to run a macro
on startup that opened the switchboard and maximized but
you can only open forms on startup. PLEASE someone tell me
the answer.


.
 

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