Public Sub Dazwm()
Dim s As Long, _
d As Long, _
sLR As Long, _
dLR As Long, _
sWS As Worksheet, _
dWS As Worksheet
Set sWS = Sheets("Source")
Set dWS = Sheets("Sheet1")
sLR = sWS.Range("A" & Rows.Count).End(xlUp).row
dLR = dWS.Range("A" & Rows.Count).End(xlUp).row
With Application
.ScreenUpdating = False
.EnableEvents = False
.Calculation = xlCalculationManual
End With
For s = 1 To sLR
For d = 1 To dLR
Application.StatusBar = "Currently checking source row " & s & " versus destination row " & d & "."
If sWS.Cells(s, 12).Value = dWS.Cells(d, 12).Value Then
If Left(sWS.Cells(s, 9).Value, InStr(sWS.Cells(s, 9).Value & "-", "-")) = dWS.Cells(d, 9).Value Then
dWS.Cells(d, 9).Value = sWS.Cells(s, 9).Value
dWS.Cells(d, 9).Interior.ColorIndex = 6
End If
End If
Next d
Next s
With Application
.ScreenUpdating = True
.EnableEvents = True
.Calculation = xlCalculationAutomatic
.StatusBar = False
End With
End Sub