Feb 25, 2002 #1 sfriday IS-IT--Management Feb 23, 2002 211 DE All, I want to check that I can create a file before I do it. I tried If fso.CreateTextFile(Pathfilename) = "Permission Denied" Then however that does not work, any ideas Thanks Steve
All, I want to check that I can create a file before I do it. I tried If fso.CreateTextFile(Pathfilename) = "Permission Denied" Then however that does not work, any ideas Thanks Steve
Feb 25, 2002 Thread starter #2 sfriday IS-IT--Management Feb 23, 2002 211 DE Its OK I have resolved this, Used Set Variable = fso.CreateTextFile(pathfilename) checked the err.number to see if it was equal to 70. regards Steve Upvote 0 Downvote
Its OK I have resolved this, Used Set Variable = fso.CreateTextFile(pathfilename) checked the err.number to see if it was equal to 70. regards Steve