Hello all,
This is my first time posting, but I would like to first say that I have been lurking for a while and this forum has been an invaluable resource for me as I am new to learning vba. So thank you all for helping me, even though you may not know that you have.
That being said, I need help with my current project. I am making a word document template and while a lot of the excel formulas work for word documents, I can't seem to find the information I need to make this current project work.
My current project: I have a userform that contains a combobox. I want the items of that particular combobox to be populated from a content control combobox that I have in the template document (let's call the Tag and Title of the content control combobox "ccX"). I want to link them so that when I select the item in the userform combobox, it changes the content control combobox in the document.
I've seen how you can use vba to populate the combobox based on a rowsource in Excel, but I don't know how to make it work in word. I know how to use .additem, but the content control combobox contains a lot of items and I may use comboboxes throughout the template, which would be cumbersome if I had to enter every item using .additem. Not to mention that the comboboxes still wouldn't be linked to the userform.
I hope that makes sense. Any help would be greatly appreciated.
Thanks!
Bookmarks