?
Solved

Unable to load UserForm on Excel Startup

Posted on 2004-09-14
6
Medium Priority
?
182 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
[X]
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
  • 3
  • 2
6 Comments
 
LVL 14

Accepted Solution

by:
aelatik earned 150 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

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