Form should appear with the wortkbook minimized

nitind

Board Regular
Joined
Oct 30, 2008
Messages
77
I have a form in my project that is loaded when the workbook is opened.I want that when this form appears the window should get minimized and then when user clicks on some button on the form the workbook get restored.How to do that.
Any help will be greatly appreciated.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Makrini

Well-known Member
Joined
May 22, 2007
Messages
1,035
Code:
Sub tester()
    Application.Visible = False
    MsgBox ("Hello")
    Application.Visible = True
End Sub
 
Upvote 0

Forum statistics

Threads
1,191,690
Messages
5,988,107
Members
440,126
Latest member
duque00

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top