Hello all,
I am looking for code that will look in column Q for the first open cell, fill every cell with "N/A" all the way down to the last populated row in column A. Another words if column A is blank then stop filling in column Q with "N/A".
I've been working with this code but I know I'm missing something.
<code>
Range("AK2:AK" & Cells(rows.Count, "A").End(xlUp).row).SpecialCells(xlCellTypeVisible).Copy _
Range("Q" & rows.Count).End(xlUp).Offset(1).Select
ActiveCell.FormulaR1C1 = "N/A"
</code>
Any help would be great!
I am looking for code that will look in column Q for the first open cell, fill every cell with "N/A" all the way down to the last populated row in column A. Another words if column A is blank then stop filling in column Q with "N/A".
I've been working with this code but I know I'm missing something.
<code>
Range("AK2:AK" & Cells(rows.Count, "A").End(xlUp).row).SpecialCells(xlCellTypeVisible).Copy _
Range("Q" & rows.Count).End(xlUp).Offset(1).Select
ActiveCell.FormulaR1C1 = "N/A"
</code>
Any help would be great!