![]() |
|
#6
|
|||
|
|||
|
Jay,
Provided the buildingblock is defined in the NormalTemplate and you are populating to both a rich text CC titled "Conditional Content" and a bookmark titled "bmConditionalContent" then yes, that is how you would code it. The buildingblock has to go somewhere. That somewhere is a range which you must define. In the example I've provide that range is a) a content control and b) a bookmark. You might want to populate to a table cell or whatever. You have to determine and define that range. If the buildingblock isn't in the NormalTemplate then you have to define the template. If the buildingblocks themselves are a table or contain tables you have to tweak the code a bit. I'm attaching a file with a working example where the BBs are defined in the template file itself. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
auto populate multiple text boxes dependent on a drop down
|
angelaschultz | Word VBA | 7 | 03-18-2017 03:00 PM |
Auto Populate Text On Dependent Drop Down Exit
|
GregStewartPTC | Word VBA | 2 | 02-27-2017 05:37 AM |
How to populate dependent dropdowns and auto-fill text fields simultaneously?
|
vera | Word VBA | 1 | 10-07-2016 07:41 PM |
| VBA Word - Building Block (AutoText) - Array - Replace Text with Specific Building Blocks | jc491 | Word VBA | 7 | 01-03-2016 10:34 PM |
| Building blocks show correctly in dropdown, but wrong building block populates in doc | wordgirl123 | Word | 0 | 10-03-2013 08:30 AM |