Hi ive had a look through various forums and sites and tried to find help on how to create a combo box in a word document.
I have the form set up so that it opens when the template opens and other textboxs are fine. Im having trouble creating a combobox that either doesnt replicate the entire contents of the box when you choose your selection or doesnt display them at all. Please could you help me?
Below is the code that ive found that ive managed to get some results from:
Dim vColor, vColors
vColors = Array("Green", "Red", "Blue"
For Each vColor In vColors
ComboBox1.AddItem vColor
Next
ComboBox1.ListRows = 0
Whenever i choose an option it replicates the whole list of options. So a list of 3 colours ends up 4 or 5 times as big comprising of the same 3 colours.
I would like to have a set number of choices in but also allow the user to insert choices that are not their. Am i far off with the above code?
Thanks
David
I have the form set up so that it opens when the template opens and other textboxs are fine. Im having trouble creating a combobox that either doesnt replicate the entire contents of the box when you choose your selection or doesnt display them at all. Please could you help me?
Below is the code that ive found that ive managed to get some results from:
Dim vColor, vColors
vColors = Array("Green", "Red", "Blue"

For Each vColor In vColors
ComboBox1.AddItem vColor
Next
ComboBox1.ListRows = 0
Whenever i choose an option it replicates the whole list of options. So a list of 3 colours ends up 4 or 5 times as big comprising of the same 3 colours.
I would like to have a set number of choices in but also allow the user to insert choices that are not their. Am i far off with the above code?
Thanks
David