G
GlennMc
I'm using Word 2003. I have a for next loop to search through indexes { XE "
"} in my document. I'm using a find statement to find the " XE ", store the
string in a variable, compare it to the next found string, and delete if it
is a duplicate. The number of indexes in the document will vary. How can I
have the code loop until the end of the document is reached. I don't know
the syntax to use, if I can create a range based on words or indexes, or
count the number of indexes first and then use a for next loop.
"} in my document. I'm using a find statement to find the " XE ", store the
string in a variable, compare it to the next found string, and delete if it
is a duplicate. The number of indexes in the document will vary. How can I
have the code loop until the end of the document is reached. I don't know
the syntax to use, if I can create a range based on words or indexes, or
count the number of indexes first and then use a for next loop.