how can take an enteire word text line in a string variable?
D Dave Lett May 18, 2006 #2 Hi, You MIGHT be able to use something like the following: Dim sLine As String sLine = ActiveDocument.Paragraphs(1).Range.Bookmarks("\Line").Range.Text MsgBox sLine HOWEVER, your cursor needs to be in the line that you want to "retrieve". HTH, Dave
Hi, You MIGHT be able to use something like the following: Dim sLine As String sLine = ActiveDocument.Paragraphs(1).Range.Bookmarks("\Line").Range.Text MsgBox sLine HOWEVER, your cursor needs to be in the line that you want to "retrieve". HTH, Dave