I m tring to use the same code in my project but i received an error on "Dim cFind As New cFindFiles". Error is "User defined Type not defined".
Can u plz tell me, whats wrong with it or which reference should i add for it. I copied all ur code in a new module. and remaining code which is
Dim cFind As New cFindFiles
Dim cfList As New Collection
Set cfList = cFind.DoFileSystemSearch("C:\Projects\Discovery date Time\Code", "*.csv", PathsAndFilenames)
is under the command button. Can u reply me as it is an emergency. I hope u will let me know about it. waiting for ur reply.