![]() |
|
#1
|
||||
|
||||
![]() Quote:
StrDetails = Replace(.DropdownListEntries(i).Value, "|", Chr(11)) as is and not have any | separators, or change it to: StrDetails = .DropdownListEntries(i).Value Later in the same thread (https://www.msofficeforums.com/word-...html#post68709) there is advice on how to reference a content control via its title rather than its index #. If you really want to know the index #, select the content control and run: Code:
Sub GetIndex() MsgBox ActiveDocument.Range(0, Selection.Range.End).ContentControls.Count End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Content Control content deleted when re-uploading to SharePoint | Peterson | Word | 5 | 06-27-2018 08:13 PM |
![]() |
DEsh | Word VBA | 2 | 10-06-2017 08:23 PM |
![]() |
DougsGraphics | Word VBA | 2 | 06-24-2015 07:31 AM |
![]() |
BrainSlugs83 | Word Tables | 8 | 11-14-2013 03:06 AM |
![]() |
dumbass0101 | Word | 4 | 10-11-2012 07:50 AM |