While I'm online, this might be a really easy question to answer...
How do I open a form 'maximised' by default in vba?
Printable View
While I'm online, this might be a really easy question to answer...
How do I open a form 'maximised' by default in vba?
You can set the WindowState property in the property window for the Form to be Maxed or not. I am assuming this is for Access Forms?
VB Code:
Application.DoCmd.Maximize
Thanks for your help.
Does this apply to the
print preview window too or is there an alternative method?
It applies to the Access child window that has the focus/active.
Yeah, that worked. But after seeing the result I've decided to leave the report preview as auto-sized and auto-centred. Thanks for the tip anyway...
:thumb: