pbuddy2007
Technical User
I'm using the following code to save the textbox:
Text144.Text = ""
strtxt = Text14.Text
arrlines = Split(strtxt, vbCrLf)
For Each strline In arrlines
Text144.Text = Text144 & strline & vbCrLf
Next
FileNum = FreeFile
Open App.Path & "\temp\file.jfl" For Output As FileNum
Print #FileNum, Text144.Text
Close FileNum
the problem is that each time i load + save the text I get an extra vbCrtl at the end, how can i delete them all ?
Text144.Text = ""
strtxt = Text14.Text
arrlines = Split(strtxt, vbCrLf)
For Each strline In arrlines
Text144.Text = Text144 & strline & vbCrLf
Next
FileNum = FreeFile
Open App.Path & "\temp\file.jfl" For Output As FileNum
Print #FileNum, Text144.Text
Close FileNum
the problem is that each time i load + save the text I get an extra vbCrtl at the end, how can i delete them all ?