Well you're right, there must be something spooky about my bookmarks,
that's why I went looking a little further. You were right this works
just fine, BUT (who would have expected that) I do have a section around
the paragraph at first which I remove either by
currSect.dispose(); or
xText.removeTextContent(currSect);
Both work fine, afterwards I'm left with the same xml as if there has
never been any section. So I'm executing the code you proposed
........AND it doesn't remove the silly bookmark.
So can you beat that? :)
Jimmy
Stephan Wunderlich schrieb:
Hi Jimmy,
This doesn't remove the last paragraph for me if there's a bookmark
inside of it. Well that's at least what I'm guessing. Did you have a
bookmark inside your last paragraph?
It only sets the Text to "" but leaves the paragraph.
well yes the macro removes the content of the paragraph without
removing the paragraph itself. But with removing the content of the
paragraph it also removes the bookmark inside it ... well at least for
me. Now I wonder what your bookmark has that mine hasn't :-)
Regards
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]