![]() |
|
#4
|
|||
|
|||
|
Hi Greg,
I realised I accidentally added a duplicate value in one of my excel sheets, hence the "display name already exist" error. However, I'm still getting the "invalid use of null" error. The line in bold below is the line with error. Was just wondering if the indentation affects how the code runs? For lngIndex = 0 To UBound(arrData1, 2) If Not IsNull(UBound(arrData1, 2)) Then oCC.DropdownListEntries.Add arrData1(0, lngIndex), arrData1(0, lngIndex) End If Next |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
How to import list from Excel into drop-down list into word
|
ahw | Word VBA | 43 | 02-28-2020 08:11 PM |
Assigning Macro to Drop Down list Content Control
|
aussiew | Word VBA | 5 | 03-10-2019 02:55 PM |
Export Word Drop-Down Content Control to Excel Specific Sheet
|
nolanthomas32 | Word VBA | 4 | 09-19-2017 06:25 AM |
How to get a Drop Down List Content Control box to fill in other areas
|
snips1982 | Word | 2 | 03-22-2017 03:37 AM |
| Word 2010 Content Control help - Combo Boxes vs Drop Down List | proghy | Word | 1 | 09-16-2014 02:01 PM |