Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

STL - Formerly Best Training Solutions Through Learning
TrustPilot
Excellent
Request Callback We will call you back
0207 987 3777 Call for assistance
Your Basket Basket is empty
last row

ResolvedVersion 2003

Okechi has attended:
Excel VBA Intro Intermediate course
Excel VBA Advanced course

Last Row

What VBA code do you use to find the last non-zero cell in either a row or a column of a list

RE: Last Row


try in your VBA code:

Range("A1").Select
Selection.End(xlDown).Select
Range("A1").Select
Selection.End(xlToRight).Select

Modify the cell references to match whatever yours requires.

regards

Phil

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.12 secs.