Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Coding a pop up calendar!!!!

Status
Not open for further replies.
Aug 23, 2005
43
US
I have code that has a routine running in Sub Form_Load(). In this same form I want to run a calendar module so here I am creating the instance of the class. The code compiles without error but then when I go to the actual form and tab to the date field, an error pops up and tells me that I need to create the instance of the class and gives me an example how to do it. My question is I guess...is it possible to do 2 routines in 1 sub procedure such as Form_Load()???

THanks for your help.

Madetoheal13
 
I'm missing something... But I'm guessing if you look up variable scopes (global, public, private <module and procedure>) you'll find your answer.

If not, more information and at least key pieces of the code would prove helpful.
 
As lameid said, also, you can run as many routines as you like in any routine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top