A
Andre
Hi,
I've written a Word 2003 C++ add-in which basically uses Word's Find object to perform a number of character replacements on selected text. There are approx. 60 char replacements and the problem is that when the add-in has run, there are up to 60 items in the undo list, each with a caption similar to "VBA-Find.Execute". I would like each add-in run to be atomic in that there is only one item in the undo list which would undo all replacements, not multiple entries which undo one replacement operation one at a time, which is confusing to the user. It would be great if the undo caption could be modified too.
I have not been able to find a way to do this, but perhaps there is something I have missed, or a way I could re-architect the add-in to get this functionality?
Thx in advance,
André.
I've written a Word 2003 C++ add-in which basically uses Word's Find object to perform a number of character replacements on selected text. There are approx. 60 char replacements and the problem is that when the add-in has run, there are up to 60 items in the undo list, each with a caption similar to "VBA-Find.Execute". I would like each add-in run to be atomic in that there is only one item in the undo list which would undo all replacements, not multiple entries which undo one replacement operation one at a time, which is confusing to the user. It would be great if the undo caption could be modified too.
I have not been able to find a way to do this, but perhaps there is something I have missed, or a way I could re-architect the add-in to get this functionality?
Thx in advance,
André.