You could clear the Undo stack before you start, but a better way to do it
is to place something uniquely identifiable - a bookmark - in the document
before you start (and to remove it when you're done). To undo, first of all
undo the removal of the bookmark, then keep on undoing as long as the
bookmark is in the document - when the bookmark is gone you know you have
undone its creation and, therefore, everything that came later.
Word 2010 does have something along these lines built in, but some aspects
of its working were unclear to me last time I looked at it.
--
Enjoy,
Tony
www.WordArticles.com
"Neron" wrote in message
...
Hi Stefan,
Thanks for the reply.
It's not 'just' for the insert-table-macro; it's more the concept of
undoing a (-n undefined) series of actions, or grouping a set of actions
into one Undo-stack action.
e.g. MS Project 2007 had got an "UndoTransaction" for creating a single
stack item containing multiple actions, but I haven't been able to
figure out how to do this in MS Word.
Greetz,
Bert
'Stefan Blom[_3_ Wrote:
;3681920']Why not just delete the table when/if you want to get rid of
it?
--
Stefan Blom
Microsoft Word MVP
--
Neron