MrExcel Publishing
Your One Stop for Excel Tips & Solutions

Three hopefully easy questions


Posted by Cory on June 26, 2001 1:32 PM

What codde would I use to minimize excel upon startup of my userform?

What code do I add to a button to close excel?

And last, How can I enable maximize and restore on a userform?


Posted by Russell on June 26, 2001 2:44 PM

1. Application.WindowState = xlMinimized
2. Application.Quit
3. Application.WindowState = xlMaximized