![]() |
#1
|
|||
|
|||
![]()
Hi
I'm creating report templates, which need to have an address repeated at various points in the document. For greater flexibility I have created mapped content controls on the cover page for 'Property Name', 'Address Line 1', 'Address Line 2', 'Town', 'County' and 'Postcode', each of which are placed on a separate line in a table. I have grouped these controls together and styled them using the Subtitle style. I've done it like this as in the header I only want to show the property name, town and postcode, so have duplicated these mapped controls into the header - is this the best way to do it? I've tried the StyleRef to pull the info into the header, but as I need to insert multiple fields that are styled with Subtitle, my testing didn't work. I've also tried Ref field but it didn't seem to want to automatically update. Throughout the rest of the report the address is repeated in full. However, there are times when not every control is populated with data and I'm left with unfilled fields which my colleagues and I have to manually delete. As my colleagues aren't as confident with Word as I am, I would like to make this easier and remove the blank address fields automatically (without the use of VBA). Conversely, there are times when the address is quite long and we need extra address fields added on the fly (which again, can be repeated throughout the document). I should add that there are a number of other content controls in the document - some mapped, some not. I'm sure that there will be a much easier way to do what I want to do, I just need pointing in the right direction. I'm the only person who has access to the Developer tab and whilst some colleagues and I are using Word 2016, there is one person who is using Word 2010. I hope I've managed to explain my query and hope that someone will be able to assist. |
Tags |
content controls, repeated content |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Content Control content deleted when re-uploading to SharePoint | Peterson | Word | 5 | 06-27-2018 08:13 PM |
insert the 2 content controls into a Repeating Section in a table | smaccharoli | Word VBA | 2 | 02-27-2018 08:49 AM |
![]() |
ABC987 | Word | 2 | 07-03-2015 06:22 AM |
![]() |
DougsGraphics | Word VBA | 2 | 06-24-2015 07:31 AM |
![]() |
BrainSlugs83 | Word Tables | 8 | 11-14-2013 03:06 AM |