![]() |
#7
|
|||
|
|||
![]()
In the ThisDocument module:
Code:
Private Sub Document_ContentControlOnEnter(ByVal ContentControl As ContentControl) Dim lngIndex As Long Select Case ContentControl.Title Case "Demo" With ContentControl.DropdownListEntries For lngIndex = .Count To 2 Step -1 .Item(lngIndex).Delete Next .Add "Apples", "Apples" .Add "Blueberries", "Blueberries" .Add "Cherries", "Cherries" End With End Select End Sub |
Tags |
combo box, user forms |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Letter Template /w combo box list | etruz | Word | 4 | 10-31-2018 05:16 AM |
Copy excel userform data to a word template | Farnkf1970 | Excel Programming | 1 | 10-31-2017 01:35 AM |
Pasting a table with combo boxes to a new document looses the combo box | bobsut@enviro-consult.com | Word | 1 | 01-03-2017 01:29 PM |
userform to enter multiple lines of data in template | callasabra | Word VBA | 0 | 06-27-2014 05:29 PM |
Forms - Combo Box Linking data | tomkat | Word | 1 | 04-23-2010 06:28 AM |