Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Unable to load UserForm on Excel Startup

Posted on 2004-09-14
6
179 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

839 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