Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Is it possible to override totalling function/values?

I have a pivot table I am generating programmatically. I have the
totalling information as part of my result set. I want to override
the totalling values with my result set's data.

I am able to grab the totalling rows/columns, but it is quite messy
depending on the possibility of subtotaling at many levels. I also am
unable to actually override the value, it does nothing.

Using VSTO:
var grandTotalRow =
pivotTable.DataBodyRange.Rows[pivotTable.DataBodyRange.Rows.Count];
grandTotalRow.Value2[1,1] = 666
but the value remains its' original value.

Is it possible either overwrite the value or the formula to use data
on another sheet/object?
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
Totalling coded values Toppers Excel Worksheet Functions 4 April 3rd 08 11:13 AM
Totalling Range Values [email protected] Excel Programming 1 September 28th 05 01:36 AM
Totalling unique values Stumped Excel Discussion (Misc queries) 2 July 27th 05 02:59 PM
Override No Zero Values ? Al Franz Excel Programming 1 May 19th 05 10:16 AM
Totalling values across columns Glenn Excel Worksheet Functions 3 January 26th 05 01:47 AM


All times are GMT +1. The time now is 04:29 AM.

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"