Hi,
Does someone know what this line of code exactly means?
It selects the filled cells in a row. But i don't understand the sequence of steps.![]()
Range("c2:c" & Cells(Rows.Count, 2).End(xlUp).Row).Select
All input is much appreciated!
Hi,
Does someone know what this line of code exactly means?
It selects the filled cells in a row. But i don't understand the sequence of steps.![]()
Range("c2:c" & Cells(Rows.Count, 2).End(xlUp).Row).Select
All input is much appreciated!
It selects the active range in column C. It does this by identifying the last row in column C by this piece of code
Cells(Rows.Count, 2).End(xlUp).Row)
Happy with my advice? Click on the * reputation button below
Thank you for the explanation
identifying the last row in column B by this piece of code
So C2 to last row represented in Column B
![]()
Cells(Rows.Count, 2).End(xlUp).Row)
Last edited by Sintek; 06-20-2020 at 05:52 AM.
Good Luck...
I don't presume to know what I am doing, however, just like you, I too started somewhere...
One-day, One-problem at a time!!!
If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
Also....Add a comment if you like!!!!
And remember...Mark Thread as Solved...
Excel Forum Rocks!!!
Good pick up.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks