I got this error while clicking in the macro button:
Run-time error '1004'
'File1.txt' could not be found. Check the spelling of the file name, and verify that the file location is correct.
If you are trying to open the file from your list of most recently used files, make sure that the file has not been renamed, moved, or delete.
I checked the file name is correct and it is located in the same directory of Main.xlsx. I did exactly what you said.
Where in the code the file1.txt is being specified? For example if I have another file with another name, how should I add it? Let`s say I have a file named XAD5E.txt
Bookmarks