View Single Post
 
Old 11-23-2016, 04:30 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,137
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

There are four rich text content controls, one for each selection. Type the list (I copied it from your post) then select each item in turn and apply a rich text content control from the Developer tab.

Each has a unique name and tag. Here they are named and tagged CCA, CCB, CCC, and CCD (right click > properties)

Press ALT+F11. The code that makes this work is in the ThisDocument module of the document and works for the set of four.

If you want more sets of controls, you will need to add them (obviously with different names) and the code for what happens when you select them. i.e. it makes the selected one bold and the others in the set not bold.

The only problem with this is that you need the macro to make it run and some users may not allow that.
__________________
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