Private Sub Command6_Click()
S = Split(Text1.Text, vbNewLine)
For i = 0 To UBound(S)
If Len(S(i)) > 0 Then
S(i) = Replace(Text1.Text, vbCrLf, Chr(8))
End If
Next i
End Sub
Private Sub Command6_Click()
Dim a As String, b As String
a = Text1
Do
b = a
a = Replace(a, vbCrLf & vbCrLf, vbCrLf)
Loop Until a = b
Text1 = a
End Sub