Importing a Text File into Code
You can import a text file containing code into the current project and use it in your code.
To import a text file into the Code window
1. From the File menu, choose Load Text.
2. From the Files box, select the file you want to import.
3. Choose Replace to replace all code in the current Code window with the imported text; choose Merge to add the text at the insertion point ; or choose New to open a new module and load the text there.
Note For compatibility with Microsoft Windows, Visual Basic uses the character codes in the ANSI character set, instead of the ASCII character set.
Guidelines for Entering and Editing Code
Using Example Code from Online Help