![]() |
![]() |
|
|||||||
| 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: Apr 2002
Location: New Delhi,India
Posts: 4
|
Hi!!
How to change the values displayed in Pivot Table's Data portion using a Macro...Can I change the summary options of the data using Macro..? |
|
|
|
|
|
#2 |
|
New Member
Join Date: Apr 2002
Posts: 6
|
Yes
The code i used: ActiveSheet.PivotTables("insert pivot tablename here").PivotFields("Month").CurrentPage = _Current_Mth Current_Mth is a variable I use that picks up a month value I put elsewhere in the spreadsheet. I have only used this for Data fields placed in the "Page" area of table. Cheers |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Location: New Delhi,India
Posts: 4
|
Hi,
Thanks a lot for reply!! If u have any idea for following.. On the data portion I want to display concatenated string that contains values of text fields from database. It seems that Pivot Table displays only integers on the data portion.... In yet another report,I want to display 'comment' which is a text field of my database,just above the figure in data part.....Is there any way out? |
|
|
|
|
|
#4 |
|
New Member
Join Date: Jun 2002
Posts: 4
|
Hi There,
I am looking for exactly the same thing. Did you suceed ? Concatenate Text string in a pivot table. E |
|
|
|
|
|
#5 |
|
New Member
Join Date: Apr 2002
Location: New Delhi,India
Posts: 4
|
hi!!
i've included that string in the row portion of the pivot table and it acts as a sub-group....there is no way...i could find by which I can include text in data portion.. Also Please let me know If I can add Mean/Median and Other such Summary cols in place of or addition to the row totals. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|