Opening a Userform without opening Excel

Philosophaie

Active Member
Joined
Mar 5, 2010
Messages
256
I have a userform. I was wondering if I could make it stand alone or be able to run without opening Excel?
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
You cannot.
If you want something similar you would need to learn VB.NET but it's a totally different program but rooted from the same language called BASIC.

You could try making an event where when the workbook opens, it hides the excel workbook and loading/showing the userform.

I think the command was
Code:
Application.Hide
'and
Application.Show
 
Upvote 0
Hello Philosophaie,

No, you can not do either. You can create the illusion of the UserForm being a stand alone by using a few tricks.

You would need to hide all the worksheets, the menu bar and command bars, and modify the UserForm to look like a window with minimize and restore buttons and save the workbook. When this workbook is launched, the UserForm is displayed when the workbook opens but application is not visible making the UserForm appear to be a stand alone application.
 
Upvote 0
Another trick to completly avoid seeing the brieve opening of the excel application window when opening the workbook is to make the workbook hidden and to run it from a small VBScript or Batch file.
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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