1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| Dim AsOfDate As String
AsOfDate = Workbooks("Reporting Nostri.xlsx").Sheets("Macro").Range("B2").Text
Workbooks("Reporting Global.xlsx").Sheets("Reporting").Activate
For J = Range("A60000").End(xlUp).Row To 1 Step -1
If Cells(J, 10).Font.Color = vbRed And Cells(J, 6).Value = 0 Then
Cells(J, 14).Text = "AsOfDate : Unauthorized Deposit"
End If
Next J
For J = Range("A60000").End(xlUp).Row To 1 Step -1
If Cells(J, 10).Font.Color = vbRed And Cells(J, 6).Value > 0 Then
Cells(J, 14).Text = "AsOfDate : Deposit in Excess"
End If
Next J |