Forum Discussion
chancelin
Nov 29, 2018Copper Contributor
Understand .Cells(.Rows.Count,“A”).End(xlUp).row
I was just wondering if you could help me better understand what .Cells(.Rows.Count,"A").End(xlUp).row does. I understand the portion before the .End part.
JKPieterse
Nov 30, 2018Silver Contributor
One reason to start from the bottom is if your column contains empty cells somewhere in the middle that is where the cursor would stop. Or if you are on the last filled cell and then hit control+down, you end up on row 1048576. Thus starting from row 1048576 and going up is a good idea.
chancelin
Nov 30, 2018Copper Contributor
Very clear your comment.
Thank you Jan Karel Pieterse