Forum Discussion

Rob233's avatar
Rob233
Copper Contributor
May 20, 2022

File system objects VBA

If I am looping through a sub folder and I'd like to change folder path like:

Dim fol As Scripting.folder

'if Sheet1.Range("f" & nxtR) is listed path on a cell (range).

Set fol = FSO.GetFolder(Sheet1.Range("f" & nxtR)), this seems not to do a trick. Any suggestion please?

2 Replies

Resources