ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   equivalent code in c# for excel (https://www.excelbanter.com/excel-programming/356257-equivalent-code-c-excel.html)

R102oy

equivalent code in c# for excel
 
I have a VBA macro which changes the pivot table summation caption, the code
is as follows:
ActiveSheet.PivotTables("OpenPivTable").PivotField s("Sum of OldName"). _
Caption = "new Name"
what is the equivalent code in c#? I am creating pivot tables in VS 2003
using c# and want to the above, any help will be appreciated.


All times are GMT +1. The time now is 03:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com