0% found this document useful (0 votes)
25 views1 page

Last Row Column

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 1

Here's a common code to find the last used cell in a column. This will use column A for example...

LR = Cells(Rows.Count, "A").End(xlup).Row

LR is now a variable represinting the Row # of the last used cell in column A
Now you can use that variable in a range statement like this

Range("A1:A" & LR)

Range("E" & Cells.Rows.Count).End(xlUp).Select


will select the last non-empty cell in Col E

Range("E1").Resize(Cells(Rows.Count,"E").End(xlUp).Row,1).Select

You might also like