Change the Width of All Columns with One Command


September 22, 2023 - by

Change the Width of All Columns with One Command

Problem: I have a large model set up in Excel. Some of the columns are hidden. I want to globally change the width of all unhidden columns to a width of 4. If I choose all columns in the worksheet and use Home, Format dropdown, Column Width, the hidden columns will unhide.

Strategy: To solve this problem, you can use Home, Format dropdown, Default Width.


The Default Width dialog allows you to enter one global column width. This change will affect all columns that have not been previously resized or hidden. The result is that you can change the width of all columns without unhiding the hidden columns.

On the Home tab, the Format drop-down menu offers Default Width...
Figure 1330. Change the default column width.

Additional Details: Changing the default width will change the width of hidden columns, but will not unhide them. When they are later unhidden, they will have the new width.



Gotcha: The Default Width command does not change the widths of columns that have previously been changed. To see this in action, open a new workbook. Manually change column C to be 20 wide. Use Home, Format dropdown and set Default Width to be 1 wide. All the columns except C will be changed.


This article is an excerpt from Power Excel With MrExcel

Title photo by Melina Kiefer on Unsplash