R
Ray
Want to delete a text file after importing its data into Access. Tried this,
got following message. Tried to add in References but couldn't find.
Suggestions???
Dim Fso As New FileSystemObject
Set Fso = CreateObject("Scripting.FileSystemObject")
Fso.DeleteFile ("C:\Documents and Settings\Ray\Desktop\TestExtract.txt")
error: User-Defined Type Not Defined
got following message. Tried to add in References but couldn't find.
Suggestions???
Dim Fso As New FileSystemObject
Set Fso = CreateObject("Scripting.FileSystemObject")
Fso.DeleteFile ("C:\Documents and Settings\Ray\Desktop\TestExtract.txt")
error: User-Defined Type Not Defined