https://quadexcel.com/wp/excel-vba-tutorial-112-creating-a-text-file/
Excel VBA Tutorial 112 - Creating a text file