By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,773 Members | 2,583 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,773 IT Pros & Developers. It's quick & easy.

what event is triggered when assigning a value to combobox?

P: 65
What event is triggered when a combobox is assigned a value?

For example, what event is triggered for the combobox in this code:

Expand|Select|Wrap|Line Numbers
  1.     Dim intMenu As Integer
  2.     intMenu = 2
  3.     Forms!frmForm!cboCombo = intMenu
  4.  
Jan 10 '08 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,356
What event is triggered when a combobox is assigned a value?

For example, what event is triggered for the combobox in this code:

Expand|Select|Wrap|Line Numbers
  1. Dim intMenu As Integer
  2. intMenu = 2
  3. Forms!frmForm!cboCombo = intMenu
  4.  
No event is triggered when assigning the value through VBA. If you need to run the event code, move the event code to a Sub and then call that Sub.
Jan 10 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.