Ask Your Question

Test for index entry

asked 2019-02-22 02:13:49 +0100

Joe-- gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-02-24 00:11:15 +0100

Joe-- gravatar image

Found out how to do this:

    Dim docIndex
    docIndex = oResult.Start.DocumentIndexMark
    If isempty (docIndex) ' no index mark here
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-02-22 02:13:49 +0100

Seen: 23 times

Last updated: Feb 24