I also am having an issue with getting my code to work, it worked once and then stopped and keeps giving me the error compile error: User-defined type not defined. and when you hit ok - this line is highlighted
"Sub ListFilesInFolder(SourceFolderName As String, IncludeSubfolders As Boolean)"
and this line in black -
Dim FSO As Scripting.FileSystemObject
Below is my code.
![]()
Please Login or Register to view this content.
Bookmarks