Solved

Unable to load UserForm on Excel Startup

Posted on 2004-09-14
6
177 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

932 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now