Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What is the difference between Userform Initialize and Userform
Activate? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I wasn't aware of the UserForm Activate event. Where can I find that?
The UserForm_Initialize method provides the facility to load list boxes, combo boxes and other controls. It occurs during the UserForm.Show event. " wrote: What is the difference between Userform Initialize and Userform Activate? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry about that, Kyle. I learned something new. I had never used
UserForm.Activate before, but according to the VBA help files, there is such a thing. I normally just use the UserForm.Show method which activates the UserForm. So the difference is that the activate event simply sets focus to the form whereas the initialize process allows the controls on the form to be set up for use in one procedure. " wrote: What is the difference between Userform Initialize and Userform Activate? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I see. That makes sense. Thanks for your response.
|
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The Userform_Initialize event is "triggered" once the userform is loaded in
memory, it is helpful if you want a routine to load/run before the userform gets visible. The Userform_activate event is [once more] "triggered" when the user clicks or calls the userform when it has already been loaded in memory and it has lost the focus, or receives it for the first time, it is like the got_focus event of any control. -- -- -- Error: App. "GetUpAndWork.exe" couldn't be loaded, "ImToTired.exe" is blocking it's execution. -- Walter R . [zz] wrote in message ups.com... | What is the difference between Userform Initialize and Userform | Activate? | |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
UserForm initialize event run when UserForm is shown | Excel Programming | |||
initialize value in userform when opened | Excel Programming | |||
UserForm initialize | Excel Programming | |||
userform initialize | Excel Programming | |||
initialize userform, using a sub | Excel Programming |