![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 5
|
in pivot tables, when refreshing data, often times the column widths change automatically
Is there a way to lock the columns, so they don't change, or so that you can only change them manually? This may have been covered already, but I can't find it. Thanks, JonH |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
PivotTable columns are automatically sized to accommodate the maximum of field name lengths, "Grand Total" labels, and data values. If you need to increase the size of columns beyond these requirements you could assign a number format to the data values that "pads" them with spaces (e.g., instead of 0.0 use "bbbbbbbb"0.0 where "b" is a space character). Through trial and error you can find a number format that expands your columns to a uniform size larger than their defaults.
[ This Message was edited by: Mark W. on 2002-02-20 15:28 ] [ This Message was edited by: Mark W. on 2002-02-20 15:29 ] |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
Jon,
Go into the pivot table's Options dialog box and uncheck "AutoFormat Table." enjoy Bariloche |
|
|
|
#4 |
|
New Member
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 21
|
Hi Jon,
You may also find that if you have titles for your pivot table, the columns in the pivot will expand to the width of the title. I had that problem myself, however have solved it by placing the title in an merged cell. |
|
|
|
|
|
#5 |
|
New Member
Join Date: Feb 2002
Posts: 5
|
THANKS,
the tip on the autoformat was perfect! |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|