Originally Posted by
Loski
I can read external text files. I can create & write these files but I have a hard time figuring out how to add a specific text such as " Level_1" at the end of each line of an external file in order to differentiate those lines when I read all those external files all together. Right now, I have to add those " Level_1" text by hand with copy & paste. OK when few lines, impossible with plenty.
The following macro lets you select the file to alter, then it asks you what text to place at the end of each line and then it overwrites the original file with this modified text. I also put in some code to warn you if it looks like you are trying to add the same text that has already been added before.
Bookmarks