It fails and highlights the word "Dim" in this initial phrase: Sub DeleteIndexEntries() Dim doc
There are 2 spaces ahead of "Dim" and 1 after it.
Is something wrong w/ the code? I pasted it in verbatim, except for trading "wdFieldFootnoteRef" for "wdFieldIndexEntry"
It fails whether or not I keep original entry for the "wd" area.
Word 2007 Help, as is often the case, is obtuse and does not define a precise way to fix this problem. I don't know what "Dim" means.
I don't know VBE, so maybe it's just not as obvious to me as it would be to a programmer? Please help!
Discussion on:
Message 10 of 11

































