How do I make Excel disappear while running VBA?

manney

New Member
Joined
Mar 25, 2002
Messages
46
I'm writing an application that works only through form modules. I'd like Excel itself to minimize and leave only the form on the screen.

My application runs automatically when the workbook opens. The VBA commands are--

Application.WindowState = xlMinimized
frmMyForm.Show

Excel minimizes, and then the Excel toolbar icon flashes. When the icon is clicked, MyForm comes up.

I'd like MyForm to appear without the icon's having to be clicked.

I'm running Office 2000 under Windows 98 on a Compaq laptop.

Any bright ideas? Thank you.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Going one step further with the above code, is it possible to have EXCEL stay minimized upon opening so that the form itself just appears? Application.Screenupdating=false doesn't seem to work, or perhaps I have it placed in the wrong area.
 
Upvote 0

Forum statistics

Threads
1,218,560
Messages
6,143,200
Members
450,469
Latest member
brent3162

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
Back
Top