Deleting cr
Hi,
i'm not sure, if I understand your question right,
but for the first character in a bookmark's range:
ActiveDocument.Bookmarks("Test").Range.Characters. First = ""
For the last character respectively:
ActiveDocument.Bookmarks("Test").Range.Characters. Last = ""
You could also delete those characters,
but sometimes autocorrect settings redo deleting immediately.
--
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Vista Small Business, Office XP
|