![]() |
|
|
|
#1
|
||||
|
||||
|
Try the attached. Simply update the text content controls, then select the dropdown content control.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#2
|
|||
|
|||
|
Thank you all for the replies! I will try these over the next couple of days and post results.
|
|
#3
|
|||
|
|||
|
Hi
I would recommend you go with Paul's solution as it is more efficient. Good luck. Tony |
|
#4
|
|||
|
|||
|
Quote:
I will be using the other to use in Excel forms that I already have Thanks again All |
|
#5
|
||||
|
||||
|
Quote:
For example, if you want to add another set to populate a different dropdown content control with the contents of another set of text content controls, it's quite easy to replicate the If ... End If block and change the content control titles to suit whatever you use for the parallel set.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#6
|
|||
|
|||
|
Quote:
unfortunately I am not very competent with vba. I tried to just copy/paste the code and change the titles(in bold from your code below) I am not sure what the lines below it are doing... I am trying to get some help internally but not much experience there either. I am not clear on what the lines in red are doing(which is most of the code) ![]() If ContentControl.Title = "Period" Then ContentControl.DropdownListEntries.Clear For i = 1 To .ContentControls.Count If Left(.ContentControls(i).Title, 4) = "Time" Then j = j + 1 ContentControl.DropdownListEntries.Add Text:=j & " - " & .ContentControls(i).Range.Text |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Caption Text Entry Disabled?!? | MYGS | Word | 14 | 06-21-2016 07:07 PM |
Form field selection allows entry into form text box
|
David C | Word | 1 | 10-24-2012 04:53 AM |
Request: Creating an Auto-Populated Template
|
Skep18 | Word | 2 | 05-29-2012 10:52 AM |
Automate text entry in Word 2007
|
jegarner | Word | 4 | 05-15-2011 04:17 PM |
| Text Entry affecting text below it | mwalker2 | Word | 2 | 03-20-2011 11:37 AM |