VBA - Written Text File Is Bigger Than Original??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peridian
    New Member
    • Dec 2006
    • 72

    VBA - Written Text File Is Bigger Than Original??

    Hello,

    Maybe I'm missing something obvious. Why, with a simple piece of code to read in one file, and output the String to another, does my output file end up being bigger than the original?

    I've run various comparisons between the two text files using Access, Word, even a hex editor. As far as I can tell, the two files are identical, yet the output takes up more space....

    Any ideas?

    Regards,
    Rob.
  • kadghar
    Recognized Expert Top Contributor
    • Apr 2007
    • 1302

    #2
    maybe the encoding you're using

    one ASCII encoded file should be smaller than an Unicode or an UTF-8

    ... i gues...

    Comment

    Working...