Ever wondered what is the difference between a VBA macro “Write” and “Print” funtion?
Here is the difference with an example.

strFName = “c:\temp\xynet.txt”
Open strFName For Output As #1
Write #1, “ABC”
Close #1

OUTPUT
Xybernetics Excel VBA Write Text File Write Vs Print
ABC

strFName = “c:\temp\xynet.txt”
Open strFName For Output As #1
Print #1, “ABC”
Close #1

OUTPUT
Xybernetics Excel VBA Write Text File Write Vs Print