Save Text to a File Using the File System Object
Category:Files and Directories
Version Compatibility: Visual Basic 6
A reference to the Microsoft Scripting Runtime is required.
Instructions: Copy the declarations and code below and paste directly into your VB project.