C
Colin Chudyk
Hi,
I have a Word macro that performs a lot of operations on a document littered
with bookmarks. I want to allow a normal end-user to modify the formatting
and wording of the template without accidentally deleting a bookmark. I'm
not sure if this is even possible... is there no event to catch when a user
deletes a bookmark (for instance, by simply highlighting it with the cursor
and pressing the Delete key)?
I guess the next best thing would be to make it very apparent to the user
that the text they are editing is within a bookmark by highlighting it or
something. I could also check at the time of document closing whether all
the bookmarks still exist, and if not, abort the changes. But this is kind
of a bandaid solution.
Bottom line: how can I allow a typical end-user to modify the macro template
without chancing a meltdown or unpredictable results due to a bookmark
deletion or something similar?
Any ideas?
Thanks,
Colin
I have a Word macro that performs a lot of operations on a document littered
with bookmarks. I want to allow a normal end-user to modify the formatting
and wording of the template without accidentally deleting a bookmark. I'm
not sure if this is even possible... is there no event to catch when a user
deletes a bookmark (for instance, by simply highlighting it with the cursor
and pressing the Delete key)?
I guess the next best thing would be to make it very apparent to the user
that the text they are editing is within a bookmark by highlighting it or
something. I could also check at the time of document closing whether all
the bookmarks still exist, and if not, abort the changes. But this is kind
of a bandaid solution.
Bottom line: how can I allow a typical end-user to modify the macro template
without chancing a meltdown or unpredictable results due to a bookmark
deletion or something similar?
Any ideas?
Thanks,
Colin