Hi, I have a piece of code that copies and pastes data from files in a selected folder. The problem is that when incorporating sub-folders, it won't work saying 'runtime error 13 type mismatch'. Is there a way to include sub folders in this?
Option ExplicitSub GatherData()
Range("A1").Value =...