Hi,
I'm searching a method to write a text file that insert at the end of each line a Chr(10) (web standard) and not a (Chr(13) + Chr(10)) like "Print #" does.
I guess I have to write a binary file so I can insert whatever character I want.
Can anyone tell me what are the commands to do so?
I need something to substitute this code:
_________________________________
Open strPath For Output Shared As #mFileHandle
'Add text to the file
i = 1
While Sheet1.Cells(i, 1).Value <> ""
Print #mFileHandle, Sheet1.Cells(i, 1).Value
i = i + 1
Wend
_________________________________
Thanks a lot!
I'm searching a method to write a text file that insert at the end of each line a Chr(10) (web standard) and not a (Chr(13) + Chr(10)) like "Print #" does.
I guess I have to write a binary file so I can insert whatever character I want.
Can anyone tell me what are the commands to do so?
I need something to substitute this code:
_________________________________
Open strPath For Output Shared As #mFileHandle
'Add text to the file
i = 1
While Sheet1.Cells(i, 1).Value <> ""
Print #mFileHandle, Sheet1.Cells(i, 1).Value
i = i + 1
Wend
_________________________________
Thanks a lot!