Link to home
Start Free TrialLog in
Avatar of Harsh Kumar
Harsh KumarFlag for Denmark

asked on

VBA Word - Create a combobox with the values from various textboxes in a userform

Hi guys,

i'm trying to figur out how to populate a combobox in a userform with the values from 2 textboxes

Is this possible?

kindly advise, thank you in advance
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Combobox1.Additem Text1.Text
Combobox1.Additem Text2.Text
Avatar of Harsh Kumar

ASKER

Thank you for your reply! it does not work tho... the dropdown is blank.. the text boxes and the combobox is on the same userform page, is that a problem? if yes, what workaround is there?
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
For the first time I noticed that you what a Word solution so I apologize for posting code that you may not be able to use.
works like a charm! thanks!