VBA myCtl.dropDown firing so early that the drop-down is in the wrongplace

  • Thread starter Thread starter Aaron Green
  • Start date Start date
A

Aaron Green

When my form to choose contact is shown (there is no Load available in
VBA, so i can't explicitly do that first), it's trying to dropdown the
contact selector combobox (set via the control's Enter event), but
apparently the form isn't yet drawn, so the pop-up list is way in the
upper left-hand corner of the screen.

Any way more elegant than using a timer to prevent the dropdown from
causing this aberration? (Note: if I tab away from and back to the
control, the dropDown event leads to the proper display of the dropdown
list!)

Thanks,
A
 
Is this an Outlook VBA UserForm you are talking about? Try using the
Initialize and Activate events.
 
Back
Top