300pt
リンク先の回答の最後に以下のコードを挿入してみてください。
Dim s As String
lastRow = Cells(Rows.Count, 2).End(xlUp).Row
For r = 1 To lastRow
If Cells(r, 1).Value <> s And Cells(r, 1).Value <> "" Then
s = Cells(r, 1).Value
Cells(r, "E").Value = s
End If
Next
出来ました。
どうもありがとうございます。