![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Location: Wisconsin
Posts: 9
|
I created a form and module in Excel VBA.
How do I cause it to start when the worksheet containing it starts? Hope I am asking the correct question. I am used to programming in VB 6.0. You specify a form or main module as the startup in VB. Can't figure out how to do that in VBA. Thanks. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Posts: 103
|
use the macro below, you must call the macro auto_open
Sub auto_open() ' auto_open Macro ' Macro recorded 28-10-01 by DENIS MCCARTHY UserForm1.Show End Sub |
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 2002
Location: Wisconsin
Posts: 9
|
Thank you very much.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|