ACC2000: How to Use Visual Basic for Applications to Minimize, Maximize, and Restore Access (210090)
The information in this article applies to:
This article was previously published under Q210090 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SUMMARY
This article shows you how to use Visual Basic for Applications code to maximize, minimize, and restore Access.
You can use the RunCommand action to maximize, minimize, and restore Access. For example, you can use the following:
DoCmd.RunCommand acCmdAppMaximize
DoCmd.RunCommand acCmdAppMinimize
DoCmd.RunCommand acCmdAppRestore
If you are using Automation, you can use the following:
application.DoCmd.RunCommand acCmdAppMaximize
application.DoCmd.RunCommand acCmdAppMinimize
application.DoCmd.RunCommand acCmdAppRestore
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbinfo kbProgramming KB210090 |
---|
|