Sometimes when I press CTRL+End on a worksheet, the cursor goes to a place far beyond the last non-blank row and column of the worksheet. I used to know how to fix this in older versions of Excel, but I’ve forgotten.
Who can help?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Where is the End of the Excel 2010 worksheet?
True. But suppose there is some non-visible character 500 rows below the actual last cell and lots of columns to the right.
If one “knows” the last cell (I know there is nothing beyond V258 let’s say), is there some way to quickly select column W to the end and row 259 to the end (I say “to the end” because different versions of Excel have extended the number of rows and columns in a sheet) and delete those? Is there some way to get Excel to show the “offending” cell so you can check if it really is something one forgot?
I’ve had the same problem as Lou mentions and found it non-trivial to verify that what Excel is reporting is due to some glitch versus me having forgotten that I hid some table beyond the “normally visible” cells.
Fred
Lou,
Here is an Excel add-in that resets the last cell in excel
http://xsformatcleaner.codeplex.com/
This second link shows how to use it
Thanks Rory. Didn’t know about Ctrl+Shift+End in Excel.
But still not sure about what to do once I’ve selected that cell. I tried a quick experiment. If my hypothetical V258 is truly my last cell, then selecting W259 and Ctrl+Shift+End selects a rectangle going “backwards” – V258:W259. But if there is something like a cell with a space in it, say at AA270, then Ctrl+Shift+End creates a rectangle from W259:AA270. Is this supposed to be what’s happening? I can see that doing this continually will allow me to “see” those “invisible” cells and I can eventually get rid of all cells to the right and below V258.
Fred
This macro be tucked in a standard module or your personal.xlsb and launched from a keyboard shortcut or an icon on the Quick Access toolbar. It will delete all the rows and columns beyond the used range, save, and close the file. As rory states, when the file is re-opened, the end cells have been reset
Sub ResetEndCell() With ActiveCell Range(Rows(.SpecialCells(xlLastCell).Row + 1), Rows(Rows.Count)).Delete Range(Columns(.SpecialCells(xlLastCell).Column + 1), Columns(Columns.Count)).Delete End With ThisWorkbook.Close SaveChanges:=True End Sub
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.