Best way to autofit cells in Microsoft Excel (Video)
Autofit a Column (Width)
Option 1: Using the Ribbon
-
Select the column(s) you want to autofit (e.g., click on column letter A).
-
Go to the Home tab.
-
In the Cells group, click on Format.
-
Choose AutoFit Column Width.
Option 2: Using a Double Click
-
Move your mouse to the right edge of the column header (e.g., between A and B).
-
When the cursor turns into a double arrow
⇔, double-click.
Autofit a Row (Height)
Option 1: Using the Ribbon
-
Select the row(s) you want to autofit.
-
Go to the Home tab.
-
Click Format in the Cells group.
-
Choose AutoFit Row Height.
Option 2: Using a Double Click
-
Move your mouse to the bottom edge of the row number.
-
When the cursor changes to a double arrow, double-click.
Autofit Multiple Rows/Columns at Once
-
Select the entire sheet (click the box in the top-left corner between row 1 and column A), or select multiple rows/columns.
-
Then use either method above.
Using VBA or code:

Comments
Post a Comment