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.
Code:
Set flds = fso.GetFolder(folderstr).SubFolders
this should load the folder names into this variable, 'flds'. It is declared earlier as ...
Code:
Dim flds As Folders