I'm trying to update the contents of column E with "BKI Hold", starting with cell E2, as long as the cells in column A are not null. I want to continue entering that value, until the last row. I've tried a couple of routes. The first snippet only entered "BKI Hold" in E2, but not subsequent cells. The second snippet hasn't entered any information.
Code:
'mws.Range("E2") = "BKI Hold"
'mws.Range("E2").Select
'Selection.AutoFill Destination:=mws.Range("E2" & ":E" & mLR)
Code:
For i = 1 To mLR
If mws.Range("A" & i).Value <> 0 Then Range("E" & i).Value = "BKI Hold"
Next I