如Function filterme(instring As String) As String
Dim where As Long
Dim outstring As String
outstring = ""
Do While True
where = InStr(1, instring, vbCr)
If where > 0 Then
outstring = outstring & left$(instring, where - 1) & vbCrLf
instring = Mid$(instring, where + 1)
Else
outstring = outstring & instring
Exit Do
End If
Loop
If Asc(Right$(outstring, 1)) <> 10 Then
outstring = outstring & vbCrLf
End If