Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default PivotField refreshment

Ok, guys.
Here is a problem.


There is a pivot table with data taken from SQL Server.

Let's say there are three values in column: 1,2,3

If I drop this column (PivotField) i.e. to Culumns area on Pivot table
it allows me to select values which I want to see in pivot table
So, I have:
- Show all
- 1
- 2
- 3


If I add 4 to database and refresh pivot table, values on a list are
also refresed. So, I have: show all, 1,2,3,4.

But, If i remove some values from database coresponding values from
pivot field list are not removed.

So if I remove 1,2,3 and add 5,6,7 on a pivot field list I will see show
all, 1,2,3,4,5,6,7.

Is there any way to remove not existing values from pivot field list?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 69
Default PivotField refreshment

witek wrote:
Ok, guys.
Here is a problem.


There is a pivot table with data taken from SQL Server.

Let's say there are three values in column: 1,2,3

If I drop this column (PivotField) i.e. to Culumns area on Pivot table
it allows me to select values which I want to see in pivot table
So, I have:
- Show all
- 1
- 2
- 3


If I add 4 to database and refresh pivot table, values on a list are
also refresed. So, I have: show all, 1,2,3,4.

But, If i remove some values from database coresponding values from
pivot field list are not removed.

So if I remove 1,2,3 and add 5,6,7 on a pivot field list I will see show
all, 1,2,3,4,5,6,7.

Is there any way to remove not existing values from pivot field list?

Thanks.


Any ideas how to remove PivotFieldItem from a list?
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
PivotField AfterUpdate event? Snowsride Excel Programming 0 January 11th 06 01:12 PM
Macro to change the PivotField to sum Vick Excel Discussion (Misc queries) 3 December 21st 05 10:34 PM
PivotField select all CinqueTerra Excel Programming 3 December 11th 05 12:55 AM
How can I hide-Unhide pivotfield using VBA? MB Excel Programming 0 March 16th 05 09:57 PM
Hiding a pivotfield using code Todd Huttenstine Excel Programming 1 June 10th 04 05:01 PM


All times are GMT +1. The time now is 04:54 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"