Office 2016
The following works perfectly if the text file already exists. If the program has to create the text file, then I get a "Permission Denied" Error on the Open PathName ... line.
I want the program to check to see if the file exists. If it does not, then create the file and append the text. Somehow, I have to close out the file I just created so I can open it again. That is the syntax I can't seem to find.
Second question: on my Office 2013 system I get a 429 Error - Active X component can't create object on the first Set fso = CreateObject("Scripting.FileSystemObject") - why this error in 2013 and not in 2016?
To test, run the Executive macro.
Please Login or Register to view this content.
Bookmarks