Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default 3rd stupid question from newbie - autoloading userform

How do you get a userform to load (appear) when the workbook opens. I have a
workbook that I need to have a user form ("usfWho") with a listbox appear so
that a user can pick his/her name.
I have four sheets in the workbook ("Quote", "LIS", "Products", "Devices").
In the code for "Quote") I have "usfWho.show" in the procedure
"Worksheet_Activate" but when I load the workbook it doesn't happen.
If, after it is loaded, I click on a different worksheet, say, "Products",
and then click back on "Quote" the userform appears.
I know that I am missing something obvious. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default 3rd stupid question from newbie - autoloading userform

double click the "ThisWorkbook" link under Microsoft Excel Objects.
Then choose workbook in the left drop down and open in the right drop
down. Place your code in there.

HTH

Die_Another_Day

mato nanjin wrote:
How do you get a userform to load (appear) when the workbook opens. I have a
workbook that I need to have a user form ("usfWho") with a listbox appear so
that a user can pick his/her name.
I have four sheets in the workbook ("Quote", "LIS", "Products", "Devices").
In the code for "Quote") I have "usfWho.show" in the procedure
"Worksheet_Activate" but when I load the workbook it doesn't happen.
If, after it is loaded, I click on a different worksheet, say, "Products",
and then click back on "Quote" the userform appears.
I know that I am missing something obvious. Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default 3rd stupid question from newbie - autoloading userform

Thanks! James Bond fan?

Mato

"Die_Another_Day" wrote:

double click the "ThisWorkbook" link under Microsoft Excel Objects.
Then choose workbook in the left drop down and open in the right drop
down. Place your code in there.

HTH

Die_Another_Day

mato nanjin wrote:
How do you get a userform to load (appear) when the workbook opens. I have a
workbook that I need to have a user form ("usfWho") with a listbox appear so
that a user can pick his/her name.
I have four sheets in the workbook ("Quote", "LIS", "Products", "Devices").
In the code for "Quote") I have "usfWho.show" in the procedure
"Worksheet_Activate" but when I load the workbook it doesn't happen.
If, after it is loaded, I click on a different worksheet, say, "Products",
and then click back on "Quote" the userform appears.
I know that I am missing something obvious. Thanks.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Probably a Stupid Question Paige Excel Discussion (Misc queries) 10 February 4th 08 06:52 PM
Another stupid newbie question. mato nanjin Excel Programming 2 June 14th 06 09:28 PM
Stupid question from newbie data from multicolumn combobox mato nanjin Excel Programming 3 June 12th 06 09:31 PM
Stupid, stupid question.... DS Excel Programming 3 September 25th 05 03:51 PM
Newbie question on UserForm K[_3_] Excel Programming 4 September 8th 03 09:06 PM


All times are GMT +1. The time now is 04:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"