Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2018, 01:48 AM
gmayor's Avatar
gmayor gmayor is offline Repeating part of a Content Control Windows 10 Repeating part of a Content Control Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,142
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default


Mapped controls will work fine for any fields that you want to duplicate. Uncompleted fields will however be a problem if there are to be no macros, and if you are going to use macros to address the missing field data, you don't need to map the fields, you can instead use entry and exit macros and write the required values to a single text control.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #2  
Old 07-27-2018, 06:28 AM
Charles Kenyon Charles Kenyon is offline Repeating part of a Content Control Windows 10 Repeating part of a Content Control Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,533
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by gmayor View Post
Mapped controls will work fine for any fields that you want to duplicate. Uncompleted fields will however be a problem if there are to be no macros, and if you are going to use macros to address the missing field data, you don't need to map the fields, you can instead use entry and exit macros and write the required values to a single text control.

Graham,



I know that you have a much deeper understanding of mapped controls (mine is superficial and depends on your Add-In or Greg's). That said, I have mapped controls which have no content and they do not seem to cause any problems (other than being blank). That may be because the utilities fix any problems that might otherwise occur.
Reply With Quote
  #3  
Old 07-29-2018, 09:46 AM
NicB NicB is offline Repeating part of a Content Control Windows 10 Repeating part of a Content Control Office 2016
Novice
Repeating part of a Content Control
 
Join Date: Apr 2018
Posts: 17
NicB is on a distinguished road
Default

Thank you all for your inputs - I'm slightly star-struck by everyone who has responded, as I've read a lot of your websites at length and learnt so much from you, which I thank you for. Without you all graciously divulging your knowledge, I would still only be using 20% of Word.

It is good to know that my thought processes, in terms of the pros and cons of CC vs StyleRef were on the right track. I've gone back to the drawing board for the headers and have tested assigning custom Document Properties to the Content Controls on the cover sheet, which pull the relevant info into the header. This has worked okay so far and it has the second benefit of recording those pertinent details in the Properties.

I will test how well this would work with pulling the details into the body of the document, along with testing out the Ref field (as I can use switches to change the case, where needed). Failing that, I think I will stick to using mapped CCs in the body. If I add an additional CC in (to account for long addresses), then group all address lines and set the group to 'cannot be deleted'. I could then enable individual CCs in that group to be deleted, to give the user some control. As I've changed the placeholder text to a bright colour, any extra controls that need to be deleted before printing would be pretty obvious.


Quote:
Originally Posted by gmayor View Post
Mapped controls will work fine for any fields that you want to duplicate. Uncompleted fields will however be a problem if there are to be no macros, and if you are going to use macros to address the missing field data, you don't need to map the fields, you can instead use entry and exit macros and write the required values to a single text control.
Graham my knowledge of macros isn't great (next thing to learn on the long wish list). I assume this is similar to the entry/exit feature for legacy fields, except that the document has to be saved as a macro-enabled document?


Thank you all once again - you've all really helped me to get a better understanding.
Reply With Quote
Reply

Tags
content controls, repeated content



Similar Threads
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
Repeating part of a Content Control Alternatives to Repeating Section Content Controls ABC987 Word 2 07-03-2015 06:22 AM
Repeating part of a Content Control Clicking the selected Content Control checkbox returns wrong control in vba event DougsGraphics Word VBA 2 06-24-2015 07:31 AM
Repeating part of a Content Control Deleting a table from a content control -- preserving the content control BrainSlugs83 Word Tables 8 11-14-2013 03:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:57 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft