Jun 13 2023 06:20 AM
My book has an index, but when "Show" is toggled, it is hard to read the text with so many index entries. I am hoping it is possible to color the index entries so that they can either be ignored to read the text or found easily to check the index entry.
Thanks ahead for any help.
Jun 13 2023 11:56 AM - edited Jun 13 2023 12:22 PM
Sorry, it is not possible, using any feature built into Word, to add different colors to different index entries.
Jun 13 2023 12:13 PM
Jun 13 2023 12:20 PM - edited Jun 13 2023 12:22 PM
You are welcome.
You can, of course, manually apply such colors in a finished index. That is really not something I would want to contemplate, though.
Jun 13 2023 05:59 PM
Jul 11 2023 02:45 PM
Jul 12 2023 07:35 PM
Jul 13 2023 04:38 PM
Coloring all the entries doesn't have to be a lot of work. Just run this macro:
Sub Color_Index()
Dim oFld As Field
Dim oIdx As Index
For Each oFld In ActiveDocument.Fields
If oFld.Type = wdFieldIndexEntry Then
oFld.Code.Select
Selection.Font.ColorIndex = wdRed
End If
Next oFld
For Each oIdx In ActiveDocument.Indexes
oIdx.Update
Next oIdx
End Sub