LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel Pivot Tables, Page Fields, Visible PivotItems, Activation

Hi Sebastien,

"sebastienm" wrote in message ...

Function IsIncluded(PItem As PivotItem) As Boolean
Dim pi As PivotItem
On Error Resume Next
Set pi = PItem.Parent.VisibleItems(PItem.Name)
IsIncluded = (Err.Number = 0)
End Function


That's really cool and thanks for wrapping it nicely up in a function
for me.
I would not have thought of that approach at all.


2. WorksheetPivotTable_Change
I have xl2000 and this event does not exists, so i guess you have either
xlXP or xl2003. That is it's hard to tell for me.


Thanks for that too. I confirmed with the urls below. So I use
Worksheet_Calculate

and use something like

if val(application.version)=10 then
...
end if

to provide activation for this or that version.

http://msdn.microsoft.com/library/de...ableUpdate.asp

http://msdn.microsoft.com/library/de...ableUpdate.asp

http://support.microsoft.com/?kbid=291294

http://support.microsoft.com/default...b;EN-US;213220

http://support.microsoft.com/default...b;EN-US;161761
 
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
Controlling Pivotitems.visible sxhwabbiemike Excel Discussion (Misc queries) 0 January 21st 09 03:09 AM
Change Multiple Page Fields in two independent Pivot Tables Oleg Excel Worksheet Functions 1 January 18th 07 01:20 AM
Pivot Change PivotItems - Visible/Hide with VBA [email protected] Excel Worksheet Functions 3 January 6th 07 12:26 AM
Filtering or linking Page Fields in an Excel Pivot Table Nick Weekes Excel Programming 0 April 27th 04 02:20 PM
Add PivotItems to PivotTable / Enabling - Disabling PivotItems Ole[_3_] Excel Programming 1 July 8th 03 03:24 PM


All times are GMT +1. The time now is 02:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"