I am using the following macro to place a "w" in column M (9) of the target record of a worksheet when colmun D gets the entry "Filled".
I would like to enter a "w" into col M of all records, that have the same entry in column K of the target row of the list, when anyone of these records gets the entry "Filled" put in col D of one of these records.
Code:
Dim lastrow As Integer
lastrow = Range("D" & Rows.Count).End(xlUp).row
'If Status is "Filled" place a "w" in Results
'Range("D2:D" & lastrow) Is the Target it defines the column D as the target area
If Not Intersect(Target, Range("D2:D" & lastrow)) Is Nothing Then
If Target <> "Filled" Then
Target.Offset(, 9) = vbNullString
Else: Target.Offset(, 9) = "w"
End If
End If
I would like to enter a "w" into col M of all records, that have the same entry in column K of the target row of the list, when anyone of these records gets the entry "Filled" put in col D of one of these records.