Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-24-2022, 05:00 PM
DBlomgren DBlomgren is offline Last used cell in new Excel file is column XFD. Windows 10 Last used cell in new Excel file is column XFD. Office 2016
Advanced Beginner
Last used cell in new Excel file is column XFD.
 
Join Date: Feb 2014
Location: New York, USA
Posts: 82
DBlomgren is on a distinguished road
Default Last used cell in new Excel file is column XFD.

I have noticed that my Excel files hang and react slowly, so I looked up a solution, which was to find the used range and delete all the unnecessary cells. When I press Ctrl + End in my Excel file, it takes me to the “last used cell” in column XFD. Whatever row I'm in, it takes me to that row's XFD column cell.




I decided to copy my info into a brand new file, format the column widths, and save. As I edited, the file was still slow, so I did Ctrl+End again and got the same thing.


I opened a new Excel file, pressed Ctrl+End, and went to the last column (XFD) in the sheet even though I hadn't entered or modified anything. Apparently, my template is screwed up.



Is my diagnosis correct?


Any suggestions of how to fix this?


I have uploaded an empty file named XFD problem.xlsx that has this problem.
Attached Files
File Type: xlsx XFD problem.xlsx (8.1 KB, 9 views)
Reply With Quote
  #2  
Old 01-24-2022, 05:23 PM
p45cal's Avatar
p45cal p45cal is offline Last used cell in new Excel file is column XFD. Windows 10 Last used cell in new Excel file is column XFD. Office 2019
Expert
 
Join Date: Apr 2014
Posts: 866
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

When I do a Ctrl+End on your file, regardless of what is selected before I do it, I always end up at cell A1.


When I copied column widths only, the last cell became the same column as the last cell of the copied range's rightmost cell, or the same as the last cell column of the source sheet if the range I was copying the column widths from was wider than the used range (last cell). Note that there were column-widths changes in the source sheet to the right of the last cell column of that sheet; these column widths were copied over but the last cell on the new sheet was still to the left (column T instead of column V).


Make of it what you will!!


If your source sheet's last cell is in column XFD and you're selecting the whole top row or all the cells in the sheet, the last cell column will be the same as your source sheet's last cell column - so if you're doing that maybe you need only to copy a smaller range's colmn widths?
Reply With Quote
  #3  
Old 01-24-2022, 05:32 PM
DBlomgren DBlomgren is offline Last used cell in new Excel file is column XFD. Windows 10 Last used cell in new Excel file is column XFD. Office 2016
Advanced Beginner
Last used cell in new Excel file is column XFD.
 
Join Date: Feb 2014
Location: New York, USA
Posts: 82
DBlomgren is on a distinguished road
Default

Maybe Ctrl-End has been reset as a shortcut on my laptop? Weird!
Reply With Quote
  #4  
Old 01-24-2022, 05:52 PM
p45cal's Avatar
p45cal p45cal is offline Last used cell in new Excel file is column XFD. Windows 10 Last used cell in new Excel file is column XFD. Office 2019
Expert
 
Join Date: Apr 2014
Posts: 866
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Quote:
Originally Posted by DBlomgren View Post
Maybe Ctrl-End has been reset as a shortcut on my laptop? Weird!
So in Excel, on that sheet, if you press F5 on the keyboard, click the Special… button and double-click the last cell option, it takes you to a different place?


A keyboard shortcut can be set up in Excel; see if you have the likes of:
application.onkey "^{END}","a macro name here"
anywhere in the file or in personal.xlsb
Search for onkey in the vba.
Reply With Quote
  #5  
Old 01-24-2022, 07:29 PM
DBlomgren DBlomgren is offline Last used cell in new Excel file is column XFD. Windows 10 Last used cell in new Excel file is column XFD. Office 2016
Advanced Beginner
Last used cell in new Excel file is column XFD.
 
Join Date: Feb 2014
Location: New York, USA
Posts: 82
DBlomgren is on a distinguished road
Default

When I press F5 etc. the cursor stays on cell A1.

Will look for that macro.
Thank you!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Last used cell in new Excel file is column XFD. Macro To Identify & Highlight Words In MS Word Based Upon A List In Excel File Column abhimanyu Word VBA 5 03-20-2020 01:33 PM
Last used cell in new Excel file is column XFD. Split an excel file into multiple files based on a column's content puff Excel 1 07-04-2018 08:35 AM
Extract column from Pdf to Excel file sathishsusa Excel Programming 13 06-11-2017 06:25 PM
Link equation with cell in Excel file olio Word 0 05-31-2017 11:56 AM
Last used cell in new Excel file is column XFD. If value of cell A Matches a value in a Range of cells (column) then add value of cell A to cell C rick10r Excel 1 07-05-2016 12:07 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft