Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 24
Default Pivot Table question

Hi

I have spreadsheets that take data via a pivot table from an OLAP cube that
is held on a terminal server.

The spreadsheets hold figures entered by me and figures obtain from the
pivot table.

I want to enable the automatic update on the pivot table but the pivot table
is sorted by a project number obtained from the OLAP cube. My problem is if
a new project is added to the OLAP cube then it is automatically selected
from the drop down list. I want to be able to turn this off so that it only
selects the project I have previously chosed. For example if I have selected
the filter number of 518 and a new project is added to the OLAP cube of
ABC123 when a refresh of the data is enabled it will select both 518 and
ABC123 and I want it to only select 518 on the refresh.

How do I do it please.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 3,346
Default Pivot Table question

Hi,

I don't think there is any built-in way to do this. You could write VBA
code the responds to the Refresh event. But you are going to need to save
the prior setting before triggering refresh and then reapply them after the
refresh.

You will want to look at this event:

Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)

End Sub

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Beverly Darvill" wrote:

Hi

I have spreadsheets that take data via a pivot table from an OLAP cube that
is held on a terminal server.

The spreadsheets hold figures entered by me and figures obtain from the
pivot table.

I want to enable the automatic update on the pivot table but the pivot table
is sorted by a project number obtained from the OLAP cube. My problem is if
a new project is added to the OLAP cube then it is automatically selected
from the drop down list. I want to be able to turn this off so that it only
selects the project I have previously chosed. For example if I have selected
the filter number of 518 and a new project is added to the OLAP cube of
ABC123 when a refresh of the data is enabled it will select both 518 and
ABC123 and I want it to only select 518 on the refresh.

How do I do it please.

Thanks

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
Pivot table question Kompu Kid Excel Discussion (Misc queries) 0 October 25th 07 02:21 AM
Pivot table question Sanj Excel Discussion (Misc queries) 2 August 2nd 07 02:42 PM
Pivot Table Question carl Excel Worksheet Functions 2 December 22nd 05 06:38 PM
Pivot table question [email protected] Excel Discussion (Misc queries) 1 December 6th 05 12:02 PM
Pivot Table Question : If statment in Pivot Table?? seve Excel Discussion (Misc queries) 2 November 22nd 05 01:00 AM


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