klornpallier
Technical User
Hi, I have the code to save a filename to a log file as below:
FilenameA = "C:\ArchivedMails.log"
Open FilenameA For Output As #1
Print #1, FileName
Close #1
This works fine but within the file I want to add new filenames each time the code is run. At present it is overwriting the file.
FilenameA = "C:\ArchivedMails.log"
Open FilenameA For Output As #1
Print #1, FileName
Close #1
This works fine but within the file I want to add new filenames each time the code is run. At present it is overwriting the file.