Hi

Using a VB-Script form I am trying to read from Word a string of text between two bookmarks. I use the following code to read the text in however I am unsure of the syntax to stop the loop once the second bookmark is reached.




Selection.GoTo what:=wdGoToBookmark, Name:="bookmark1"
character = selection.text



Thanks