Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default Setting Pivottable RowField Width

Hi.

I have a pivot table in which one row field, "Description", sometimes has a
long value, and therefore the pivot table comes up with it's column set at
168.86 .

A width of about 50 would be good.

This field happens to be in column H, and I could set the column width of
column H to the appropriate amount.

But, I want to do it through the RowField("Description"), somehow... so that
if the pivot table gets changed, and this particular field isn't in column H
any more, I won't need to go back through the code and then tell it what
column "Description" is not in...

Can someone help me set the column width of a specific pivot table row
fields? I've not found it.

Thanks.
Mark
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 246
Default Setting Pivottable RowField Width

On 16 Feb, 19:10, mark wrote:
Hi.

I have a pivot table in which one row field, "Description", sometimes has a
long value, and therefore the pivot table comes up with it's column set at
168.86 .

A width of about 50 would be good.

This field happens to be in column H, and I could set the column width of
column H to the appropriate amount.

But, I want to do it through the RowField("Description"), somehow... so that
if the pivot table gets changed, and this particular field isn't in column H
any more, I won't need to go back through the code and then tell it what
column "Description" is not in...

Can someone help me set the column width of a specific pivot table row
fields? *I've not found it.

Thanks.
Mark


could you add another field onto the data that truncates "Description"
to 50 and then use that in the pivot?
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default Setting Pivottable RowField Width

yes, I could do that.

I'd still want the full description in the detail data, so I'd end up with
two columns in the detail... the original, and the left 50.

If there's not a better way, perhaps I'll do that.



"WhytheQ" wrote:

On 16 Feb, 19:10, mark wrote:
Hi.

I have a pivot table in which one row field, "Description", sometimes has a
long value, and therefore the pivot table comes up with it's column set at
168.86 .

A width of about 50 would be good.

This field happens to be in column H, and I could set the column width of
column H to the appropriate amount.

But, I want to do it through the RowField("Description"), somehow... so that
if the pivot table gets changed, and this particular field isn't in column H
any more, I won't need to go back through the code and then tell it what
column "Description" is not in...

Can someone help me set the column width of a specific pivot table row
fields? I've not found it.

Thanks.
Mark


could you add another field onto the data that truncates "Description"
to 50 and then use that in the pivot?

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
setting column width James Excel Discussion (Misc queries) 1 July 11th 08 12:02 AM
Locking column width - upon refresh of PivotTable pepenacho Setting up and Configuration of Excel 0 May 8th 06 04:48 PM
Setting the Width of a column Nirmal Singh Excel Programming 5 May 27th 05 05:16 PM
Setting column width Brad E.[_2_] Excel Programming 2 January 21st 05 05:26 PM
Setting width and height Tom Egan Excel Programming 0 February 5th 04 03:35 PM


All times are GMT +1. The time now is 06:55 PM.

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

About Us

"It's about Microsoft Excel"