Forum Discussion
Rob233
May 20, 2022Copper Contributor
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
- Rob233Copper Contributor
HansVogelaar didn't work. However, I worked my code around for solution.