a | b | c | ||
1 |
<tbody> </tbody> | 31354 | Q1 | |
2 |
<tbody> </tbody> | 425 | Q1 | |
3 |
<tbody> </tbody> | 452 | Q1 | |
4 |
<tbody> </tbody> | 76 | Q1 | |
5 |
<tbody> </tbody> | 456786 | Q1 | |
6 |
<tbody> </tbody> | 475 | Q3 | |
7 |
<tbody> </tbody> | 98 | ||
8 |
<tbody> </tbody> | 475453 | ||
9 |
<tbody> </tbody> | 4534 | ||
10 |
<tbody> </tbody> | 86876 |
<tbody>
</tbody>
I' trying to fill down column C based on that last value in that column and then stop when column B has no more values. So far I have the code below that fills down all of column C with "Q1".
Dim lastRow As Long
With Sheet5
lastRow = .Cells(Rows.Count, "A").End(xlUp).Row
.Range("C1:C" & lastRow).FillDown
End With
Then i paste more values though and now need it to fill down the values with "Q3" . I think I need to replace the "C1:C" so that it is dynamic and now selects the value in C6
<colgroup><col><col span="2"><col><col></colgroup><tbody></tbody>