Excel 2007/2010 + AutoFit Columns : How to turn off?

Rusty

Board Regular
Joined
Apr 8, 2002
Messages
108
Seriously, drives me round the bend. Ridiculous feature. I absolutely hate it.

Anyone know how to turn it off?
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
I'm puzzled - I never get column AutoFit behavior unless I select a column and double-click at the column edge(s). It seems to me if you wouldn't want to autofit your columns, you would simply not do this. Is this a joke?
 
Upvote 0
Not a joke at all.

I get Excel 2007/2010 auto resizing columns. Generally if there is errors in them and I go to the cell.

Most of the time I'm writing reports, and thus have a standard that people want them to be displayed.
 
Upvote 0
I get Excel 2007/2010 auto resizing columns. Generally if there is errors in them and I go to the cell.
Can you describe exactly what you do, and exactly what happens on screen?
 
Upvote 0
^^ Ditto. The behavior you are describing it is completely unknown to me. I can't imagine how going to a cell with an error in it could trigger a column autofit.
 
Upvote 0
Ok, I replicated the issue and took some screenshots:


First two basic lists of data in Column A and Column C:

http://imageshack.us/photo/my-images/638/excel2010cw01.png/


I then added in a basic VLOOKUP formula to compare the lists:

http://imageshack.us/photo/my-images/713/excel2010cw02.png/


This returned a #N/A error on the formula (intended, to replicate the issue). Note the column width of D:

http://imageshack.us/photo/my-images/684/excel2010cw03.png/


When I click in cell D2 with the formula, it auto-resized column D to the width of the #N/A error:

http://imageshack.us/photo/my-images/694/excel2010cw04.png/


It's a curious one... Thanks all for your input.

PS: Not sure how to have those links as thumbnails / images
 
Upvote 0
Got me. Doesn't happen to me when I try your steps. Have you checked for any odd cell formatting (though I still can't imagine what - doesn't seem to be from wrap text or shrink to fit)? Have you tried deleting all formatting (Clear | Formats from the Home | Editing group)? I assume there's not custom code in this workbook, right? Addins installed?
 
Upvote 0
I can't replicate that in native Excel. If I write a Worksheet_SelectionChange event code chunk I can replicate it ... I assume that you haven't got anything like that in there, have you?
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Target.EntireColumn.AutoFit
End Sub
 
Upvote 0
Just as an update, I've narrowed this down to being caused by an add-in.

Thank you all for your help.

Still totally frustrating, but maybe the developer will fix it sometime.
 
Upvote 0
Just as an update, I've narrowed this down to being caused by an add-in.

Thank you all for your help.

Still totally frustrating, but maybe the developer will fix it sometime.

Thanks for the feedback ... good luck with the developer.
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,543
Members
452,924
Latest member
JackiG

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