Hi everybody,
This code works for several users, but returns unknown com status error for my colleague.
loFSO = createobject('Scripting.FileSystemObject')
loFolder = m.loFSO.GetFolder(m.tcDirectory)
for each loFile in m.loFolder.files
Should I re-write it to use adir instead to be safe?
I think the reason could be that there are no files and I don't check for this.
Thanks in advance.
If it's not broken, fix it until it is.
My Blog