Thread: Deleting cr
View Single Post
  #2   Report Post  
Posted to microsoft.public.word.tables
Helmut Weber[_2_] Helmut Weber[_2_] is offline
external usenet poster
 
Posts: 45
Default 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