Solved

Unable to load UserForm on Excel Startup

Posted on 2004-09-14
6
178 Views
Last Modified: 2010-05-02
Does anyone know how to load a UserForm in the Workbook_Open subprocedure of an Excel Application?
0
Comment
Question by:efarhat
  • 3
  • 2
6 Comments
 
LVL 14

Accepted Solution

by:
aelatik earned 50 total points
ID: 12058024
Private Sub Workbook_Open()
    UserForm1.Show
End Sub
0
 

Author Comment

by:efarhat
ID: 12058507
should it be modeless?
0
 

Author Comment

by:efarhat
ID: 12058518
also, on my command buttons.. i thought if you add "%Caption" it will make the "C" a shortcut?
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 3

Expert Comment

by:domj
ID: 12061177
"&Caption" will make it a shortcut.
0
 
LVL 14

Expert Comment

by:aelatik
ID: 12061334
should it be modeless? >>>>

That is something you need to decide, if you want the user to be able to edit while the form is running then use Model otherwise not
0
 

Author Comment

by:efarhat
ID: 12075875
& doesn't work in Excel. is it a bug?
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question