L
Larry
Helmut, you had suggested this code for me, to determine if a selection
went to more than one line. At first it didn't work, then it did, as I
told you the other day. Now it's not working again. Even when the
extension runs to two lines, the msgbox says "on same line." I've
toggled to print view and page view, I've made sure that wrap to window
was off, and it's not in draft view.
With Selection.Characters
If .First.Information(10) <> .Last.Information(10) Then
MsgBox "not on same line"
Else
MsgBox "on same line"
End If
End With
went to more than one line. At first it didn't work, then it did, as I
told you the other day. Now it's not working again. Even when the
extension runs to two lines, the msgbox says "on same line." I've
toggled to print view and page view, I've made sure that wrap to window
was off, and it's not in draft view.
With Selection.Characters
If .First.Information(10) <> .Last.Information(10) Then
MsgBox "not on same line"
Else
MsgBox "on same line"
End If
End With