Hi All
I'm want to open multiple Excel files in multiple folders and then enter a COUNTIF formula in cell Q1204 of each sheet, replace all the "degrees" words with blank spaces in each sheet and then add a custom filter with values above 97 in column AK:AK in each sheet. I have the code below to do the last 3 bits but not sure how to open the multiple files in multiple folders. Any help on this would be very much appreciated
Range("Q1204").Select
ActiveCell.FormulaR1C1 = "=COUNTIF(C[-3],0)"
Cells.Replace What:="degrees", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
ActiveSheet.Range("$A$1:$AK$1201").AutoFilter Field:=37, Criteria1:=Array( _
"97", "98", "99"), Operator:=xlFilterValues
ActiveWindow.SmallScroll Down:=3
Regards
Donal
I'm want to open multiple Excel files in multiple folders and then enter a COUNTIF formula in cell Q1204 of each sheet, replace all the "degrees" words with blank spaces in each sheet and then add a custom filter with values above 97 in column AK:AK in each sheet. I have the code below to do the last 3 bits but not sure how to open the multiple files in multiple folders. Any help on this would be very much appreciated
Range("Q1204").Select
ActiveCell.FormulaR1C1 = "=COUNTIF(C[-3],0)"
Cells.Replace What:="degrees", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
ActiveSheet.Range("$A$1:$AK$1201").AutoFilter Field:=37, Criteria1:=Array( _
"97", "98", "99"), Operator:=xlFilterValues
ActiveWindow.SmallScroll Down:=3
Regards
Donal