autosize cells in excel

ZippyDan

Platinum Member
Sep 28, 2001
2,141
1
81
i often double-click on a cell's vertical or horizontal border to get the cell to auto-size to the max(textlength) of said column or row, especially when finalizing a document. this can get very tedious. is there a way to select all and have excel do this for an entire document at once?
 

Fritoz

Senior member
Dec 17, 1999
350
0
71
From the Excel Help file:

To autofit all columns on the worksheet, click the Select All button and then double-click any boundary between two column headings. Or select all columns, point to Column on the Format menu, and then click AutoFit Selection.
 

ZippyDan

Platinum Member
Sep 28, 2001
2,141
1
81
i guess i shouldve mentioned im in excel 07. i hate the ribbon. the first step doesnt seem to do anything, the second step doesnt exist thanks to the ribbon. also i need to do rows as well
 

KeithTalent

Elite Member | Administrator | No Lifer
Administrator
Nov 30, 2005
50,235
117
116
Ctrl-A, then double-click the line in-between any two columns, then double-click the line between any two rows.

KT
 

ZippyDan

Platinum Member
Sep 28, 2001
2,141
1
81
i did that, doesn't seem to work as claimed: since clicking lines between specific rows and columns only seems to change those specific rows and columns
 

KeithTalent

Elite Member | Administrator | No Lifer
Administrator
Nov 30, 2005
50,235
117
116
Well I'm at a bit of a loss then. What happens if you have the entire sheet selected and you drag the columns or rows to make them larger, does only the one row/column adjust?

KT
 

corkyg

Elite Member | Peripherals
Super Moderator
Mar 4, 2000
27,370
239
106
In the "Home" ribbon, navitage to the right above the box labeled "Cells," and click the down arrow by FORMAT. You can set default cell width and height there.

Another quick way to change width for all cells, just hit Ctrl-A (Select All) and drag the right margin of the first cell label to where you want it - all cells will then change width.
 

ZippyDan

Platinum Member
Sep 28, 2001
2,141
1
81
if i have multiple columns selected (applies to entire sheet also) then if i drag a specific column or row it changes only the involved columns in a way i can only explain with an example.

case 1: if i have two columns with no selection of width 2 and 2 and i drag the border of one column to make it larger then i end up with a column of width 3 and width 2. so my total width for the two columns changes from 4 to 5

case 2: if i have two columns selected of width 2 and 2 and i drag the border, then the max width will not exceed 4, so if i make one column width 3 then the other one will change to width 1
 

ZippyDan

Platinum Member
Sep 28, 2001
2,141
1
81
Originally posted by: corkyg
In the "Home" ribbon, navitage to the right above the box labeled "Cells," and click the down arrow by FORMAT. You can set default cell width and height there.

Another quick way to change width for all cells, just hit Ctrl-A (Select All) and drag the right margin of the first cell label to where you want it - all cells will then change width.

i dont necessarily want them all to be the same width, i want them all to autosize (the same thing that happens when you double click a column/row border)
 

mayest

Senior member
Jun 30, 2006
306
0
0
Guaranteed to work: Select the columns, by clicking and dragging across the headers, that you want to autofit and then double-click on one of the column borders just like you would for a single column.
 

ZippyDan

Platinum Member
Sep 28, 2001
2,141
1
81
Originally posted by: mayest
Guaranteed to work: Select the columns, by clicking and dragging across the headers, that you want to autofit and then double-click on one of the column borders just like you would for a single column.

ok THAT worked. thanks. i guess the original poster was right... ALMOST. but with the slight difference that "Select All" (Ctrl + A) does not work, you must select the columns by dragging across the headers just as mayest said above.
 

corkyg

Elite Member | Peripherals
Super Moderator
Mar 4, 2000
27,370
239
106
As an aside - you might be interested in this article in the May issue of Microsoft TechNet - how to customize ribbons in Office 2007.

2007
 

Fritoz

Senior member
Dec 17, 1999
350
0
71
Originally posted by: mayest
ok THAT worked. thanks. i guess the original poster was right... ALMOST. but with the slight difference that "Select All" (Ctrl + A) does not work, you must select the columns by dragging across the headers just as mayest said above.

Just a clarification for future users: The "Select All" button mentioned in my post isn't the same thing as CTRL+A. It's the empty "cell" in the very top-left corner of the spreadsheet (North of Row 1 and West of Column A, if that makes sense). CTRL+A will only highlight your active cells, whereas the corner button highlights the entire worksheet.
 

ZippyDan

Platinum Member
Sep 28, 2001
2,141
1
81
Originally posted by: Fritoz
Originally posted by: mayest
ok THAT worked. thanks. i guess the original poster was right... ALMOST. but with the slight difference that "Select All" (Ctrl + A) does not work, you must select the columns by dragging across the headers just as mayest said above.

Just a clarification for future users: The "Select All" button mentioned in my post isn't the same thing as CTRL+A. It's the empty "cell" in the very top-left corner of the spreadsheet (North of Row 1 and West of Column A, if that makes sense). CTRL+A will only highlight your active cells, whereas the corner button highlights the entire worksheet.

Ah cool. Well then they should label that cell

Also, CTRL + A is the shortcut for Edit -> Select All in almost every program (including pre-ribbon MS Word), so that is very confusing.

 

GrumpyMan

Diamond Member
May 14, 2001
5,778
262
136
If you go to the very top left little square on the spread sheet, the one with an arrow so to speak (between the A and the 1), it highlights the whole spread sheet. Then you can double click the row or column line to auto-size it.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |