VBA code to link 2 drop down boxes in word 2010

Nov 5, 2013
Reaction score
Hi All,

I need help linking 2 drop down boxes in word 2010. I have used a lot of code from the net and the code is working 97%. I am just struggling with the array. Below is the error code I keep getting: Run-time error '9': Subscript out of range. but I don't understand what I am doing wrong. This is the line of code the application is complaining about:

For i = 0 To UBound(tData.arrFood)
.DropdownListEntries.Add tData.arrFood(i)

What does it mean??

Thanks in advance :)


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