Importing a Text File into Code

See Also1FHWGN2

You can import a text file containing code into the current projectBKAGDI and use it in your code.

To import a text file into the Code windowJ73QNY

   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 point0KIN01C; 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 ANSI5221FB character set, instead of the ASCII1KYP8NO character set.

 


See Also

Help:

Guidelines for Entering and Editing Code5SZA0GX

Using Example Code from Online HelpDBQHD3