Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
No question here, just a procedure for the archive.
Search criteria: Autofit auto fit width of all columns in an worksheets work sheets active workbook justify width all column in work book automatically programmatically macro to resize column width Sub ColumnsAutoFitAllSheets() 'AutoFit all column widths in all worksheets in workbook Application.ScreenUpdating = False For i = 1 To Sheets.Count Sheets(i).Select Cells.EntireColumn.AutoFit Range("A1").Select Next Application.ScreenUpdating = True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
autofit row text (wrapped) without changing column width? | Excel Discussion (Misc queries) | |||
format:column width: autofit selection | Setting up and Configuration of Excel | |||
autofit cells in column width | Excel Discussion (Misc queries) | |||
Autofit Row height or Column Width does not work | Excel Discussion (Misc queries) | |||
autofit Column width- Ajit | Excel Discussion (Misc queries) |