#1
|
|||
|
|||
insert the 2 content controls into a Repeating Section in a table
I'm trying to do the same as what is referenced in the below similar post link. However, I'm looking to insert the 2 content controls (dropdown and rich text) into a Repeating Section in a table. Using the example shown by Paul in his comment, I need my end users to be able to enter multiple "Clients" that will auto-populate the Rich Text Content Control.
I thought maybe if I replaced: ActiveDocument.ContentControls(2).Range.Text = StrDetails with: ActiveDocument.SelectContentControlsByTitle("Descr iption").Item(1).Range.Text = StrDetails. I'm still off a little somewhere though, and not sure where. It is working as such that whenever I add a new section to the table, whatever I select in my primary DropDown control, the Value info gets populated in the Description Rich Text Content Control for the FIRST entry in my repeating section table. Not sure how to modify the script so that each new entry is independent of the one prior. I have attached my .dotm so can see what I'm doing/not doing properly. Any thoughts would be greatly appreciated!! - Steve Maccharoli Edit mod : post related to https://www.msofficeforums.com/word-...n-lists-6.html Last edited by smaccharoli; 02-27-2018 at 08:58 AM. |
#2
|
||||
|
||||
Hi
Please do not hijack threads. To get a faster answer it's always best to start a new thread when you have a new question, eventually adding a link to any relevant threads.I did it for you this time
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
|||
|
|||
Thank you for the head's up, and for moving my post.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Duplicating one or more table rows or an entire table with content controls | kevinbradley57 | Word VBA | 10 | 08-17-2017 02:13 PM |
InfoPath 2013 In a Repeating Section condition a field of a nested repeating section | kirvin08 | Misc | 0 | 03-15-2016 04:52 AM |
Alternatives to Repeating Section Content Controls | ABC987 | Word | 2 | 07-03-2015 06:22 AM |
Insert image icons are showing up on images that have content controls but only on some computers. | mandylach | Word | 0 | 11-10-2014 07:44 PM |
Content Controls - Add Table Rows | dgiromini | Word VBA | 1 | 04-11-2014 03:04 PM |