[font=Verdana][color=darkblue]Option[/color] [color=darkblue]Explicit[/color]
[color=darkblue]Sub[/color] test()
[color=darkblue]Dim[/color] strPath [color=darkblue]As[/color] [color=darkblue]String[/color]
[color=darkblue]Dim[/color] strFile [color=darkblue]As[/color] [color=darkblue]String[/color]
[color=darkblue]Dim[/color] wkbOpen [color=darkblue]As[/color] Workbook
[color=darkblue]Dim[/color] wksOpen [color=darkblue]As[/color] Worksheet
[color=darkblue]Dim[/color] wksDest [color=darkblue]As[/color] Worksheet
[color=darkblue]Dim[/color] rCell [color=darkblue]As[/color] Range
Application.ScreenUpdating = [color=darkblue]False[/color]
[color=darkblue]Set[/color] wksDest = ActiveWorkbook.ActiveSheet
[color=green]'Change the path accordingly[/color]
strPath = "C:\Users\Domenic\Desktop\Test\"
[color=darkblue]If[/color] Right(strPath, 1) <> "\" [color=darkblue]Then[/color] strPath = strPath & "\"
[color=green]'Change the file extension accordingly[/color]
strFile = Dir(strPath & "*.xls")
[color=darkblue]Do[/color] [color=darkblue]While[/color] Len(strFile) > 0
[color=darkblue]Set[/color] wkbOpen = Workbooks.Open(strPath & strFile)
[color=darkblue]Set[/color] wksOpen = wkbOpen.ActiveSheet
[color=darkblue]For[/color] [color=darkblue]Each[/color] rCell [color=darkblue]In[/color] Intersect(wksOpen.UsedRange, wksOpen.Columns("AE"))
[color=darkblue]Select[/color] [color=darkblue]Case[/color] rCell
[color=darkblue]Case[/color] "", 1, 2, 3, 4, 5, "2f", "-2f", "2h", "-2h"
[color=green]'Do nothing[/color]
[color=darkblue]Case[/color] [color=darkblue]Else[/color]
wksDest.Cells(wksDest.Rows.Count, "A").End(xlUp).Offset(1).Value = wkbOpen.Name
[color=darkblue]Exit[/color] [color=darkblue]For[/color]
[color=darkblue]End[/color] [color=darkblue]Select[/color]
[color=darkblue]Next[/color] rCell
wkbOpen.Close savechanges:=[color=darkblue]False[/color]
strFile = Dir
[color=darkblue]Loop[/color]
Application.ScreenUpdating = [color=darkblue]True[/color]
MsgBox "Completed...", vbInformation
[color=darkblue]End[/color] [color=darkblue]Sub[/color]
[/font]