Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2
Default 2 axes pivotchart when pivotitems is changed

u must record new one macro using the 2 axes graph that can be changed depending on your selection of currentpage. u can also use a combobox form and a new sheet containing graph already. when u change to the new pivotfield item pivotchart jump into your recorded macro. (when u change to the combobox item you can get data needed for graph )

'for finding items and get it written a new temp. file
Sub Node_selection_graph()

'To determine how many BSC Nodes are available in the data
reportfile = ActiveWorkbook.Name
Workbooks.Add
temp_file = ActiveWorkbook.Name
Windows(reportfile).Activate
Dim pt As PivotTable
Set pt = ActiveChart.PivotLayout.PivotTable
For i = 1 To pt.PivotFields("BSC").PivotItems.Count
'pt.PivotFields("BSC").CurrentPage = pt.PivotFields(" BSC").PivotItems(i).Name
Nodes(i) = pt.PivotFields("BSC").PivotItems(i).Name
Windows(temp_file).Activate
Cells(i, 1) = Nodes(i)
pt.ManualUpdate = False
pt.ManualUpdate = True
Windows(reportfile).Activate
Next i


EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
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
How do you select line or columns in "Line-Column on 2 axes" graphs? mizterbusy Excel Discussion (Misc queries) 0 September 19th 06 06:48 AM
line-column combination chart, with stacked columns annewcpss Charts and Charting in Excel 1 June 5th 06 08:51 PM
Two-Axes, Stacked and Line Chart Michael Charts and Charting in Excel 1 December 10th 05 05:00 PM
how do I create a chart on two axes with stacked columns and line ian ian ian rogers Charts and Charting in Excel 1 May 20th 05 11:32 AM
Line Column on 2 axes that shows stacked colums Paul Henderson Charts and Charting in Excel 2 February 27th 05 02:22 PM


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