VB Code:
Private Sub Command1_Click() Dim sText As String Open "C:\MyTextFile.txt" For Input As #1 sText = Input(LOF(1), 1) Close #1 sText = Replace(sText, Chr$(32), vbNullString) End Sub
|
Results 1 to 2 of 2
Thread: Remove spaces in text fileThreaded View
|
Click Here to Expand Forum to Full Width |