I am able to read the values in the cells, which are the locations of 2 folders, but when I run the code I get path not found error at line 6.
Set wb = ThisWorkbook
Set ws = wb.Worksheets("Sheet1")
fsource = ws.Cells(1, 3).Value
fdest = ws.Cells(3, 3).Value
Set fso = CreateObject("Scripting.FileSystemObject")
Set folder = fso.GetFolder(fsource)
but when I directly give the path like this it's able to identify the path:
Set folder = fso.GetFolder("C:\Users\kaka\Desktop\Results")
ws.Cells(1, 3).Value
? Also, is this VBScript or VBA?