Phone (01457) 858877 or email
The easiest way to work with text files in VBA is using TextStream objects - this blog explains how they work.
This blog is part of a complete Excel VBA tutorial, but we also run classroom training courses in VBA.
This blog shows how to read from (and write to) text files using something called TextStream objects.
There is another way to do this in VBA using commands like Input and Open, but I think the way shown here is much easier to remember and use.
In order to get any of the code in this blog to work, you first need to create a FileSystemObject.
The easiest way to work with text files in VBA is using TextStream objects - this blog explains how they work.
This blog is part of a complete Excel VBA tutorial, but we also run classroom training courses in VBA.
Comments on this blog
This blog has 2 comments: