You have data in a file that you want to process.
- Use the "Open" statement to open the file.
- Do your processing.
- Use the "Close" statement to close the file.
See the Explanation of this pattern for code.
Input, you could use
Append. Line 1 assumes the file is in the same folder as the workbook containing the code.