Another one....right over the plate

Roccofan

Board Regular
Joined
Apr 18, 2002
Messages
61
I've created a simple dialog box and I want it to appear when the workbook is opened, how do I do this?
This message was edited by Roccofan on 2002-08-26 12:54
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Place this in the ThisWorkBook Module

Private Sub Workbook_Open()
UserForm1.Show
End Sub
This message was edited by lenze on 2002-08-26 12:58
 
Upvote 0
Lenze,

Thank you very much for all you help today. I have one last question:

When I open this workbook I get the following error message:

"System Error &80070057 (-2147024809. The parameter is incorrect.)"

If I press the "Help" button present on the dialog box the help message is that the system has detected an error...that's all it says. When I click "OK" the message goes away and the data in the workbook is fine. Any idea what might be causing this?

RF
This message was edited by Roccofan on 2002-08-26 13:09
This message was edited by Roccofan on 2002-08-26 13:10
 
Upvote 0
Whats is the code in your userform + the Loader code you use to Load this form ??
eg as Lenze has given ??
 
Upvote 0

Forum statistics

Threads
1,214,875
Messages
6,122,044
Members
449,063
Latest member
ak94

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