Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default What code do I use to add a user form to Excel worksheet?

I can make a user form with all the bells and whistles, but how can I get it
to load in my excel program when it opens? I have never tried this before.
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default What code do I use to add a user form to Excel worksheet?

Hammer

Put code like this in the ThisWorkbook module (Presumes form is called
UserForm1)

Private Sub Workbook_Open()
UserForm1.Show
End Sub


--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"Hammer1947" wrote in message
...
I can make a user form with all the bells and whistles, but how can I get
it
to load in my excel program when it opens? I have never tried this before.
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
user form-vba code Jay Trull Excel Programming 1 April 24th 06 07:46 AM
User Form Code mully New Users to Excel 9 May 22nd 05 07:54 PM
User Form Button Code Debs Excel Programming 1 February 26th 04 12:13 PM
Activate Excel worksheet after showing a user form ? KajBre Excel Programming 5 January 24th 04 03:56 PM
Removing a user form with code KimberlyC Excel Programming 1 January 8th 04 11:55 PM


All times are GMT +1. The time now is 07:58 PM.

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"