Sub Asi19_Formatting_Macro() ' 'Asi19_Formatting_Macro Macro 'Macro written 2/17/07 by Edward S. Lane ' 'Set Pointers Dim OrigRow As Integer Dim HotListAmount As Integer OrigRow = 2 'Where to start compairing numbers HotListAmount = 1 'Will be used to determine the amount of items in the hotlist and subsequent range (I'm assuming there will be at least one). 'Finds the amount of itmes in the Hotlist to be used as the range Do While IsNumeric(Cells(OrigRow, 2)) Sheets("HotList").Select If IsNumeric(Cells(OrigRow, 2)) Then HotListAmount = OrigRow End If OrigRow = OrigRow + 1 Sheets("HotList").Select Loop OrigRow = 2 'Compare OCList account numbers Sheets("ASI-19 ActiveSheet").Select Do While IsNumeric(Cells(OrigRow, 7)) Sheets("ASI-19 ActiveSheet").Select If IsEmpty(Cells(OrigRow, 7)) = False Then If WorksheetFunction.Match(ActiveSheet.Range(OrigRow, 7), Worksheets("OCList").Range("D2:D3198").Select) ThenColorIndex = 6 .Pattern = xlSolid Rows("OrigRow:OrigRow").Select With Selection.Interior . End With End If End If OrigRow = OrigRow + 1 Sheets("ASI-19 ActiveSheet").Select Loop End Sub