-
I've been trying to use the FileSystemObject to do things like move and delete files but when I do this:
Dim fso As New FileSystemObject
and then try to use it, I get a compile error and vb says that it didn't recognize the new user-defined object.
Can anyone help?
DoubleDown
----------------------------------------
"Who's the big winner here tonight? ...
Mikey!! That's who. Mikeys the big winner"
-
You either have to add a reference to the Scripting RunTime thing or declare it like so
Set fs=CreateObject("Scripting.FileSystemObject")
-
Thanks that helped
I just had to select a check box in the project dialog box to include the scripting run-time dll.
DoubleDown