Wrong End

Genlist

New Member
Joined
Mar 19, 2012
Messages
9
Have spreadsheet with over 14,000 rows and when using "Selection.End(xlDown).Select" the cursor stops at row 12,106 not matter which column I test. Why does it stop on that row instead of 14,054?:confused:
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
That wasn't very clear, to me anyway.

The code I posted will always start at the bottom and go up.

What are you trying to do anyway?
 
Upvote 0
Norie, What I am trying to do is go to the end of the data at row 14,054. Starting at A1 using the my code in my first thread the cursor stops at row 12,106 instead of the last row 14,054 I've tried changing columns on row 1 and the cursor still stops on row 12,106. On a blank column the cursor goes to row 1,048,576.
With your code;
Starting at the bottom, row 1,048,576 the cursor moves up to the last row of data, 14,054.
Starting at a blank column at row 1,048,576 the cursor moves to row 1 of that column.
Starting at the bottom of the data, row 14,054 the cursor does not move.
Starting at the row below, 14,055 (blank cell) the cursor moves 1 row up to 14,054.
Starting at A1 the cursor moves to the last row of data, 12,106. I know it's suppose to move up but it moves down. That is crazy.

By the way thanks to everyone that has assisted with the thread
 
Upvote 0
I thought that's what you wanted and I see you have a solution.:)
 
Upvote 0

Forum statistics

Threads
1,216,221
Messages
6,129,585
Members
449,520
Latest member
TBFrieds

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top