![]() |
|
#1
|
||||
|
||||
![]()
Your code indicates you're using formfields, not content controls for the dropdowns. The two are entirely different. Moreover, you seem to have all the existing content inside a single rich-text content control. Bad idea. Content controls and formfields were not designed to be used together and trying to do so can lead to problems.
Your basic issue can be solved by using a Word table as a container, and a suitable macro to drive the process from the last formfield or content control in that table. You will, of course, need to rename your formfields and modify your existing code to continue working with those. The advantage of using content controls, on the other hand, is that they don't require document protection to work (though that can be used) and don't require each new set to be renamed. For code that works by adding a new row to a table in a document with formfields: Macro to add row to table in a Word form For code that works by adding a new row to a table in a document with content controls: Code to add new row in table Macro to add row to table in a Word form https://www.msofficeforums.com/word-...tml#post145675
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
Thank you for the advice and noting my misinformation. I'll do additional research on the basic cc/forms and then try to apply the advice you've given.
Are there any online courses or references that would be helpful to someone like me that knows nothing, but would like to learn more about VBA (word and excel)? I see this as a very powerful tool that I could apply for efficiency. Thanks again |
![]() |
Tags |
dependent vba |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
someazguy | Word VBA | 14 | 02-05-2023 08:01 PM |
![]() |
jeweldarby | Word VBA | 6 | 05-21-2022 04:37 PM |
![]() |
lgsikaffy | Word VBA | 3 | 12-14-2018 05:14 PM |
Dropdown dependent text | JakeLRL | Word VBA | 7 | 04-07-2016 08:26 AM |
make text form field active dependent on dropdown | Glenn0004 | Word VBA | 1 | 06-23-2015 06:13 PM |