Unable to load UserForm on Excel Startup

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

Accepted Solution

aelatik earned 50 total points
ID: 12058024
Private Sub Workbook_Open()
End Sub

Author Comment

ID: 12058507
should it be modeless?

Author Comment

ID: 12058518
also, on my command buttons.. i thought if you add "%Caption" it will make the "C" a shortcut?
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.


Expert Comment

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

Expert Comment

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

Author Comment

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

707 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

15 Experts available now in Live!

Get 1:1 Help Now