Hi all,<br><br>I am trying to remove spaces in a text file, using FSO<br><br>Does anyone know how i can do this.<br><br>The following is the logic that i need to use<br><br><br><br>Sub StripSpaces()<br><br>Dim fs As FileSystemObject<br>Dim ans As String<br><br><br>Set fs = CreateObject("Scripting.filesystemobject"
<br>Set a = fs.OpenTextFile("c:\a16.txt"
<br><br>Do Until a.AtEndOfStream = True<br><br> result = a.Readline<br> If result = " " Then<br> ???? remove (result)<br> End If<br> <br>Loop<br>a.Close<br><br><br>'''save file<br><br><br>thanks <br><br>Conor