Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Automatically adjust column widths
is there a way to write code to automatically adjust column widths so that when a change is made to the sheet, the column widths will automatically adjust? I have a pivot table that every time i make a change, I have to fix the column widths. Any thoughts? -- stu_padassol ------------------------------------------------------------------------ stu_padassol's Profile: http://www.excelforum.com/member.php...o&userid=36840 View this thread: http://www.excelforum.com/showthread...hreadid=565469 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Automatically adjust column widths
Try this statement:
Cells.EntireColumn.AutoFit Regards, Stefi €˛stu_padassol€¯ ezt Ć*rta: is there a way to write code to automatically adjust column widths so that when a change is made to the sheet, the column widths will automatically adjust? I have a pivot table that every time i make a change, I have to fix the column widths. Any thoughts? -- stu_padassol ------------------------------------------------------------------------ stu_padassol's Profile: http://www.excelforum.com/member.php...o&userid=36840 View this thread: http://www.excelforum.com/showthread...hreadid=565469 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Need to Improve Code Copying/Pasting Between Workbooks | Excel Discussion (Misc queries) | |||
creating a bar graph | Excel Discussion (Misc queries) | |||
automatically adjust numbers in a column when data is deleted | Excel Worksheet Functions | |||
how to highlight current row & column automatically by a color | Excel Discussion (Misc queries) | |||
Column widths to adjust automatically? | Excel Discussion (Misc queries) |