How to minimize full ms-access window in vba? I have some code to minimize like docmd.minimize but it does not work.

Please let me know how to minimize whole window of access in vba?
Almost, but not quite.

The one you're looking for is DoCmd.RunCommand acCmdAppMinimize (minimize the Access window)

Also:

DoCmd.RunCommand acCmdAppMaximize

DoCmd.RunCommand acCmdAppRestore