Re: Problem with sub..._Change
- From: "Jacob" <jlongton@xxxxxxxxx>
- Date: 10 Oct 2006 07:35:15 -0700
I'll give that a try. Thanks!
Bob Phillips wrote:
How about the combo's DropButtonClick event. It only gets loaded then when
someone goes to use it.
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
"Jacob" <jlongton@xxxxxxxxx> wrote in message
news:1160488077.065773.238160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I use a sub to update the options in a listbox based on the selection
of a combobox. I have it set to update when the combobox changes:
Private Sub ComboBoxgroupW_Change()
With UserFormDesign
.ListBoxW.RowSource = .ComboBoxgroupW.Value
End With
End Sub
this is causing problems when the main program is running because
apparently it updates as the main function iterates, and this statement
assigns bad input to rowsource when the function has not completed
running. Is there a better option to use than "Change." Or is there a
way to disable this sub while the program is running? thanks
.
- References:
- Problem with sub..._Change
- From: Jacob
- Re: Problem with sub..._Change
- From: Bob Phillips
- Problem with sub..._Change
- Prev by Date: Assign Sub Name to a Variable
- Next by Date: Re: Macro to insert headers..need coding help
- Previous by thread: Re: Problem with sub..._Change
- Next by thread: Re: Problem with sub..._Change
- Index(es):