Thanks for viewing this. Can anyone help me with the following code. I need to make some kind of IF loop that either uses or skips the following code if an autofilter in column AA finds the word "NEW" or not. I can't quite get it figured out. I know the code below isn't the cleanest so please forgive me for that. Thanks so much for your help.
HTML:
Sheets("Rate Comparison").Activate
Range("A6").Select
Range("A6").AutoFilter
Range("A6").AutoFilter Field:=27, _
Criteria1:="=New"
Range("A7").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.SpecialCells(xlCellTypeVisible).copy
Sheets("Proposed Ranking").Select
FinalRow = Cells(Rows.Count, 1).End(xlUp).Row
Range("C" & FinalRow + 1).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Rate Comparison").Select
Range("C7").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.SpecialCells(xlCellTypeVisible).copy
Sheets("Proposed Ranking").Select
FinalRow = Cells(Rows.Count, 1).End(xlUp).Row
Range("E" & FinalRow + 1).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Rate Comparison").Select
Range("D7:J7").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.SpecialCells(xlCellTypeVisible).copy
Sheets("Proposed Ranking").Select
FinalRow = Cells(Rows.Count, 1).End(xlUp).Row
Range("F" & FinalRow + 1).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Rate Comparison").Select
Range("Q7:R7").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.SpecialCells(xlCellTypeVisible).copy
Sheets("Proposed Ranking").Select
FinalRow = Cells(Rows.Count, 1).End(xlUp).Row
Range("Q" & FinalRow + 1).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Rate Comparison").Select
Range("B7").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.SpecialCells(xlCellTypeVisible).copy
Sheets("Proposed Ranking").Select
FinalRow = Cells(Rows.Count, 1).End(xlUp).Row
Range("O" & FinalRow + 1).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Rate Comparison").Select
Range("K7:L7").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.SpecialCells(xlCellTypeVisible).copy
Sheets("Proposed Ranking").Select
FinalRow = Cells(Rows.Count, 1).End(xlUp).Row
Range("A" & FinalRow + 1).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Rate Comparison").Select
Range("A6").AutoFilter