The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Maximize Macro Action

Office 2007

If Microsoft Office Access 2007 is configured to use overlapping windows instead of tabbed documents, you can use the Maximize action to enlarge the active window so that it fills the Access window. This action will allow you to see as much of the object in the active window as possible.

 Note   This action can't be applied to code windows in the Visual Basic Editor. For information about how to affect code windows, see the WindowState property topic.


The Maximize action doesn't have any arguments.


This action has the same effect as clicking the Maximize button in the window's upper-right corner or clicking Maximize on the window's Control menu.

You can use the Restore action to restore a maximized window to its previous size.


  • You may need to use the SelectObject action if the window you want to maximize isn't the active window.
  • When you maximize a window in Access, all other windows are also maximized when you open them or switch to them. However, pop-up forms aren't maximized. If you want a form to maintain its size when other windows are maximized, set its PopUp property to Yes.

To run the Maximize action in a Visual Basic for Applications module, use the Maximize method of the DoCmd object.