Need to add items to combo box (drop down box)?

A

AMC

I need to add items to a combo box and have no idea what to do in the design
mode. Nothing I so seems to work. If possible, it would be very helpful to
get step by step instructions. Interesting how combo box doesn't even come
up in the help section.
 
H

Harvey

are you asking about control combobox or form dropdown form fields? If you
ask for combobox on control toolbar these controls are more suitable for
userforms and not for using them directly on documents. you need to add items
to a combobox prgrammatically.
combobox1.AddItem "text1"
but there is more into it, you need to be familiar with different events
for each control to be able to write the code in a proper even.But if your
question is about form dropdown field you can use form toolbar's form field
option and add items to the drop down list and use it directly on your
doument.
 
A

AMC

I don't like the drop down field from the forms toolbar. I want it to look
like the combo box. Is there anyplace I can go that will give me step by
step instructions. I can't imagine why it should be so involved. When I go
to view code and the drop down next to "combobox1" does not contain anything
like "add item".
 
H

Harvey

Open MS visual basic editor by ALt+F11 then from help menu search for AddItem
and you will get plenty of information. As i said previosuly in order to use
combobox and other controls you need to enter in VBA programming world and
learn at least some basics and there is no shortcut for it:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top