Getting last blank cell

If you want to know the last blank cell of your column, ignoring the blank cells within that column, you can use below code.  This code will store the last blank cell of column A into variable "n"

n = Cells(Rows.Count,1).End(xlUp).Offset(1,0).Address

You can use this code for further appending the data into the selected column.

Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.