Embedded Chart Versus Chart - ShowDetail Issue

I've created a class module to capture a Shift+Click on a pivot chart,
which then opens the data associated with that point.  It works great
on pivot charts on their own sheet, but when I use the same code on an
embedded chart, it fails (error code -2147417848).

Everything seems to work fine, it derives the same row and column
values as needed, but the ShowDetail property is unavailable in the
embedded charts.

Anyone have any insight?

james Igoe  ||  james.igoe@gmail.com ||

james.igoe (28)
5/4/2006 7:01:01 PM
excel 39879 articles. 2 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 31

I eventually solved my problem, simply using "On Error Resume Next",
capturing the error number if it existed, then opening the range
manually via selection.

It is less than ideal, but my attempts to use the ChartObject for
embedded charts was not fruitful.

If interested, visit my website and find it among my Excel VBA

James Igoe

646.303.2584  ||  james.igoe@gmail.com  ||

james.igoe (28)
5/14/2006 3:11:33 PM

Similar Artilces:

Embedded word doc changed to image-need to change back to word.
I have an embedded word document that misteriously changed into an image. This image is not a word doc converted into a picture (i.e. like I convert an embedded word doc by right clicking and selecting 'image object', 'covert', and then select to activate as a word doc.) but an actual image as if I inserted a picture. Need to turn the image back into a word doc so I can recover my work. It would also be nice to figure out how I am changing to an image, amost seems like a bug since it has randomly happened twice. ...

Gantt Chart and Critical Path
I have a spreadsheet where I enter time line data in the cells and from that information generate a Gantt chart. What I would like is a way to have symbols on my chart to show milestones, and end points. Anybody have any ideas as to how I could add those symbols on a chart? Thanks. Royce - That's a page I haven't added to my web site yet. Your gantt chart is a stacked (or floating) bar chart. To add symbols, you need to add additional series, using time as your X values, and a normalized Y value corresponding to the bar that needs the marker. Use 1 for your topmost bar, and N...

soften jagged edges of pie charts
I am trying to smooth the angles in pie chart which prints okay from an excel but not when I copy and paste it on a microsoft word document Instructions said go to format, click selected data series and click patterns tab then select smoothed line. But the box Smoothed line doesn't exist. Have you tried copying as picture (Shift-Edit-copy as picture)? "zen" wrote: > I am trying to smooth the angles in pie chart which prints okay from an excel > but not when I copy and paste it on a microsoft word document > > Instructions said go to format, click selected...

Excel should default to autoformat for chart text boxes
Excel in (Office 2003 and as far as I can tell all previous versions of Excel) should default to autoformat for chart text boxes - it currently selects "none" for outline and background options ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.micr...

How do I add a secondary axis to a pivot table chart?
Using XL2007 - the secondary axis radio buttons are greyed out. Is there a way to add the 2nd axis? Hi, This is chart type dependent. Suppose you have a line chart, right click the series and choose Format Series, the Axis radio button should be available. What type of chart are you using? Cheers, Shane Devenshire "dangelor" <dangelor@discussions.microsoft.com> wrote in message news:2610028F-5FAF-4400-A3E3-B7D0CCEFB443@microsoft.com... > Using XL2007 - the secondary axis radio buttons are greyed out. Is there a > way to add the 2nd axis? ...

Timeout issues on Sales Orders with many Products
Hi all, I'm experiencing timeout issues with Sales Orders that have 25-30 products on the Order Detail level. I haven't found any documentation on this particular issue. Has any ever seen this before? I'm a little loathe to start reindexing the tables, especially considering the SalesOrderDetail table has less than 300 rows. -Luke ...

Domain name issue migrating 5.5 to Exchange 2003
We are prepairing to migrate Echange 5.5 to Exchange 2003. This has come up as an issue: Our domain is cornerstone instead of cornerstone.com Our email address is "firstname.lastname@cornerstonegrp.com" instead of: "firstname.lastname@cornerstone.com" ...

Delete embedded chart, how?
I have 2, (Gnatt), charts on the wrksht. How do I del one? -- Boswell Select the chart, hit the delete button. -- David Biddulph "Boswell" <boswell6@sbcglobal.net> wrote in message news:C439A52B-E430-4B40-95DB-1563E22939AF@microsoft.com... >I have 2, (Gnatt), charts on the wrksht. How do I del one? > -- > Boswell ...

Pie Chart color
Hi, Excel 2003. I have a 3 series pie-chart, I simply want to change the color of ONE of the 3 slices in the way I want. Thanks for help. Click the slice; pause; click the slice again, it should now have 'handles' around it. Use Format | Data POINT in menu (if it say Data SERIES, try again) best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "Freightliner" <freightliner2006@hotmail.com> wrote in message news:87a8c3a5-2d6e-43d2-a0ec-7aa1b25c1296@8g2000hse.googlegroups.com... > Hi, > > Excel 2003. I...

Outlook 2007 adding contacts issue #2
Hello! I apologize in advance if this has been answered, but I couldn't find it anywhere... today I added contacts to outlook 2007...never had used it before on Vista ever...and closed out went to lunch... came back, I cannot add any new contacts. All options to add a greyed out... If I select file new.....adding contacts is there but greyed out... any ideas on what to change? Thanks! lori, Go to your contacts page and type CTRL + N. The new contact page will open. Or on your contacts page, click New on the button that appears just below the File menu item. Or on your contacts pa...

move axes and axis labels behind data points on scatter chart
I'm working with a series of XY scatter charts that all pull data from the same worksheet. They are all copied from the "original" scatter chart and then just have the cell references changed so that the formatting stays consistent across the series. (The charts will be shown sequentially and I don't want anything changing other than the location of the data points.) However, on some of the charts, the axis and/ or the axis label appers on top/ in front of some of the data points and behind/ under other data points (which is what I want - the axes and labels behind th...

Formatting Chart Category Labels
I'm creating a fairly complex chart - a spider graph "dashboard" report that addresses 4 major areas of an organization's performance - finance, quality, efficiency and customer satisfaction. Each category has 4-7 data elements, so that there are a total of 22 data elements on the chart. There will be 2 sections of the report, a chart showing YTD, LYTD and Goal values for the data elements and the graph itself. I envision this as a relatively easy way for management or board to get a snapshot of comparative key performance indicators. So far so good - input form, c...

Charting Problem #2
I have a problem with charting a Dynamic chart. I goes ok to set up the dynamic function as a range. It also shows the correct series. The range is as follows: =OFFSET(Sheet3!$A$1;1;Sheet3!$P$2-1;COUNTA(INDIRECT("C"&Sheet3!$P$2;FALSE));1) Where P2 is an input from a listbox, and the name of the range is: Sheet3!Dato. When I try to change the reference for the series i get the following message: "Your formula contains an invalid external reference to a worksheet. Verify the path, workbook, and range name or cell reference are correct, and try again." The serie...

Which 'event' to run pivot chart formatting code on file open?
Greetings I have code to change my pivot chart type to a mix of line and column also to refomat colours I need to run the code so that the user sees the changes when the file is opened Ive tried the 'workbook open' event and the chart activate event but noy joy so far. (Once the file is open, manualy triggering the code works perfectly) Any ideas? Thanks I don't know why workbook_open doesn't work. You could use Application.OnTime to run your code a short time (like 2 sec) after the workbook opens. - Jon ------- Jon Peltier, Peltier Technical Services, Inc. http://Peltier...

Adding a horizontal line to a Pivot Chart
I can't get a horizontal line added to a pivot chart (column or line) by using the series method. Can anyone help me out? I'm trying to add the horizontal line to show things like the mean and standard deviation. Thanks in advance. Sharon - Pivot charts don't allow you to include data that's not in the pivot table, and I think it only allows a very limited number of combination charts, if any. Sorry to disappoint. - Jon ------- Jon Peltier, Microsoft Excel MVP Peltier Technical Services http://PeltierTech.com/Excel/Charts/ _______ sharonc wrote: > I can't get ...

Autoscale a Line Chart to stack the curves
hello! To compare financial market assets moves I use a single chart with 2 series. The chart has 2 vertical axes and the scales are pretty different in term of values. The autoscale works fine on both axes. My queston is: How do I translate a curve onto the other so that they get "stacked", to be easily compared at a glance ? Any VBA function or sub is welcome... Thx This post might help. It shows how to calculate a proportional axis on a dual-axis chart. The effect is to plot the movement of one series against another to see how well they are correlated. Because each...

Odd Label Printing Issue
I'm using RMS v1.3.0206. I'm nearly done bringing up a new store. The Store Operations server and both POS terminals are doing great. Connections to HQ are all fully functional as far as I can tell. The problem I'm having is this: the office manager's PC won't print the price on the price tags! The other fields (ILC, BarCode, Description, SubDesc1/2/3, Last Rec'd, Price C) all print normally. The 'Price' field doesn't populate on the label--but only on this one PC! I use a custom label. The other PCs at the store can print the labels just fine...

Chart Legend Items: hide/show
How do I hide/show a series on a chart legend (scatter plot.) I tried a null string (""), but the trace still shows. I also tried #N/A. But it then shows "#N/A"; the same with function: NA(). What I am trying to do is to have a control button to show or hide a series from the chart. I can set all the series values to #N/A which hides it, but I am having trouble trying to hide the legend for the series. I also tried an "if" function in the chart->series dialog, but It evidently will only accept a cell pointer. "Jon Peltier" <jonREMOVExlmvp@p...

Excel 2007 Bar and Line chart on 2 Axes
I used Excel 2003 to create a "bar and line chart on 2 axes" and now have 2007. I can't find where or how to create these charts using Excel 2007. Can someone tell me how to do it? Start here http://office.microsoft.com/en-us/excel/HA102004991033.aspx Then Google "Excel 2007 chart"; look at a few sites Then come back here with specific questions and we will help you get it right. best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "Nancy" <Nancy@discussions.microsoft.com> wrote in message...

How do you do set up a hierarchy chart in PP 7
I'm trying to set up a hierarchy chart in PP7 but the template presented doesn't allow me to add boxes below with a direct line. Sometimes I get a slanted line and I can't delete it. ...

split bar chart
I need to create a bar chart using the following data: Column1 = 2 (value inside cell) Column2 = 3 (value inside cell) Coumn3 = 5 (=column1 + column2) Here's the layout I'm looking for: bar1 would start at 0(zero) and stop at 2 bar2 would start at 3 and stop at 5 (nothing would show below 3 for this bar) It's pretty much a stacked bar graph but each "stack" would be in its own column. Thanks! Not sure if it is what you need but goto www.stfx.ca/people/bliengme/ExcelTips and look at Column Chart with a Difference best wishes -- Bernard V Liengme www.stfx.ca/p...

Broken lines in a chart to display extreme values?
Sometimes a single extreme value causes the rest of the data to become too small, like a bar chart of the values (10000, 4, 3, 2, 4, 5). The way to avoid is to use broken lines where the axis makes a leap from 10 to 9990 with a dotted gap inbetween. I couldn't find a way to implement this in Excel. Is there a way? Hi, It is not a built in option but can be constructed. http://www.andypope.info/charts/brokencolumn.htm Cheers Andy Metin Örsel wrote: > Sometimes a single extreme value causes the rest of the data to become too > small, like a bar chart of the values (10000,...

Chart Data Source
Hi, Thanks in advance. How do I get the data source of a chart and put it in a varable with VBA code? Thanks Trev B -- Trev B Excel 2007 Chart VBA Get source range from chart. http://www.mediafire.com/file/mozmw2mmnrk/12_16_09.xlsm ...

Flying Bricks Chart
Hi! Could anybody, please, give me the table with formulas, i.e. source for creating Flying bricks chart, or detailed decription of how to build one. Thanks, Irada -- Irada Shamilova ------------------------------------------------------------------------ Irada Shamilova's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=12286 View this thread: http://www.excelforum.com/showthread.php?threadid=401132 Is this what you want: http://peltiertech.com/Excel/Charts/Brickyard.html - Jon ------- Jon Peltier, Microsoft Excel MVP Peltier Technical Services Tutoria...

Pie Chart: want separate chart for each "RN"
Hi All. I have a report, which contains numerous amounts of data, so there are several subreport in the main report. Each subreport is broken out by "RN". The subreports contain rows of data, counts & percentages. Everything works fine, EXCEPT, the Pie Chart subreport. It is pulling in ALL "RN" #'s, making a very ugly pie chart. So, I want to run the data once for a "TEAM" of "RN's" but have the report separate out as many different reports as there are "RN's". Which it does this for ALL OTHER pieces of data, excep...