Visual Basic/VBA – Working With Text Files

Here are a few methods for reading/writing text files.

Note: These bits of code are mostly for my own reference, but if anyone else finds them useful all the better.

Method 1 – This only works with VB, it doesn’t work with VBA.


Method 2

Method 3 – This may only work with VBA now.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.