Hi All,
Was hoping I could get some quick help. I'm trying to use the FSO to create a file, but can't seem to get it to work.
Could someone please tell me what I'm doing wrong?
I've got the Windows Scripting Library is referenced, so it recognizes my objects. Mainly though, I don't know what type to dim my actual file as.
Thank you.
Ryan
Was hoping I could get some quick help. I'm trying to use the FSO to create a file, but can't seem to get it to work.
Could someone please tell me what I'm doing wrong?
I've got the Windows Scripting Library is referenced, so it recognizes my objects. Mainly though, I don't know what type to dim my actual file as.
Thank you.
Ryan
Code:
Dim fso As Scripting.FileSystemObject
Dim csvFile As File '<- Is this right?
Set csvFile = fso.CreateTextFile(strFile, False, False)