The following command line, should return the sub-folders in the folder - path ( string ) 'folderstr'. The syntax and declarations for the variables seem fine. No errors, but I get 'Type Mismatch' on this line ...
this should load the folder names into this variable, 'flds'. It is declared earlier as ...
Any ideas ? Thanks.
Set flds = fso.GetFolder(folderstr).SubFolders
Dim flds As Folders