ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Shortcut to change view so that column widths are all wide enough to show all data? (https://www.excelbanter.com/excel-discussion-misc-queries/154742-shortcut-change-view-so-column-widths-all-wide-enough-show-all-data.html)

david.karr

Shortcut to change view so that column widths are all wide enough to show all data?
 
If I have a worksheet where all the column widths are relatively
small, so that I can't see all of the column header value, and some of
the values, is there some sort of shortcut that can quickly expand all
the column widths so they become as wide as the widest value in the
column?


barnabel

Shortcut to change view so that column widths are all wide enough
 
There are a couple things that you can do.

1) You can select the columns you want to resize, nove the mouse so you
have a column resize cursor and double-click

2) A simple macro:
sub FitSize()
Columns("A:Z").EntireColumn.AutoFit
end sub

"david.karr" wrote:

If I have a worksheet where all the column widths are relatively
small, so that I can't see all of the column header value, and some of
the values, is there some sort of shortcut that can quickly expand all
the column widths so they become as wide as the widest value in the
column?



Gord Dibben

Shortcut to change view so that column widths are all wide enough to show all data?
 
Select several columns and double-click on one of the dividing lines between the
headers.


Gord Dibben MS Excel MVP

On Fri, 17 Aug 2007 17:22:17 -0000, "david.karr"
wrote:

If I have a worksheet where all the column widths are relatively
small, so that I can't see all of the column header value, and some of
the values, is there some sort of shortcut that can quickly expand all
the column widths so they become as wide as the widest value in the
column?




All times are GMT +1. The time now is 02:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com