Currently, I have an application ( Add In ) that generate table of content and add a counter for a constant tag. Just feel like replacing the Add In with simple macro.
I am sure that we can create a macro to generate table of content.
But, not too sure whether I can create a macro to increment the counter based on a string set by user.
For example in my document, all the string with TAGID, I need to change it to TAGID1, TAGID2 based on the last counter.
Is there some feature in Microsoft Word that allow me to do it ? or I need to write a macro to find all words with TAGID and then strip off the number at the end, take the MAX then +1.
Thanks for input.
Bookmarks