View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
GS[_2_] GS[_2_] is offline
external usenet poster
 
Posts: 3,514
Default VBA Combobox "Enter"

Hi,

I'm trying to program VBA to hit the "Enter" key in a Combo Box, but
I don't remember the proper code. Here is what I have:

Application.Shapes("ComboBox1") = True

Can anyone help me out?

Thanks!


A Combobox triggers via its _Change event. You need to change its
content to the text item that you want it to display. The text items
are its list, and so you must use one of these or enter new text you
want to add to its list. The needed code depends on which control (Form
or ActiveX) you're working with.

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion