Is there something that I need to reference? How do I use this:
Dim fso As New FileSystemObject Dim fld As Folder Dim ts As TextStream
I am
In excel 2013 the object creation string is:
Dim fso Set fso = CreateObject("Scripting.FileSystemObject")
instead of the code in the answer above:
Dim fs,fname Set fs=Server.CreateObject("Scripting.FileSystemObject")