Here is the basic idea for using DIR
Sub FindFilesToChangeSAS()' Bare bones version to test for DIR
Dim FN As String
FN = Dir(ThisWorkbook.Path & "\*.*")
Do Until FN = ""
MsgBox FN 'Name of each file in the directory(folder) displayed
'Do what is desired with the workbook