Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
automatically adjust numbers in a column when data is deleted Robbie Excel Worksheet Functions 2 May 21st 05 01:57 AM
how to highlight current row & column automatically by a color iffi Excel Discussion (Misc queries) 1 February 6th 05 06:30 PM
Column widths to adjust automatically? lambola Excel Discussion (Misc queries) 1 January 21st 05 12:35 AM


All times are GMT +1. The time now is 12:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"