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
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