LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Newbee help

Hi,

What am I doing wrong... I have Pivot Table with all data and then I want a
chart do display this, everything is fine, but now I have to buttons one for
select and one for unselect,
Unselect works fine, but select does not....

Unselect macro:

Sub Reset_BB()

For i = 1 To
ActiveChart.PivotLayout.PivotFields("BB").PivotIte ms.Count - 1
With ActiveChart.PivotLayout.PivotFields("BB")
.PivotItems(i).Visible = False
End With
Next

End Sub

Select macro:

Sub Set_BB()

MsgBox "Diese Funktion ist leider noch nicht implementiert."
Exit Sub

Sheets("Grafik nach BB").Select
For i = 1 To
ActiveChart.PivotLayout.PivotFields("BB").PivotIte ms.Count - 1
With ActiveChart.PivotLayout.PivotFields("BB")
.PivotItems(i).Visible = True
End With
Next

End Sub


Thanx
/goran


 
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
Newbee made a big mistake [email protected] Excel Discussion (Misc queries) 2 July 12th 06 08:20 AM
Newbee needs HELP-Small Macro tbobo Excel Discussion (Misc queries) 4 March 8th 06 07:17 AM
newbee got a problem climax Excel Discussion (Misc queries) 2 January 30th 06 01:21 PM
Newbee Q: How to make search field in excel sheet? kandinsky Excel Programming 3 January 10th 04 05:49 PM


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