I’m writing a basic macro to create index entries for text values in tables in my document. I have figured out how to create the entry, but if I run the macro multiple times I don’t want it to create multiple entries for the same text.
How can I test if a particular section of text has an associated index marker?