Home |
Search |
Today's Posts |
#12
![]() |
|||
|
|||
![]()
Yes - very much so. The straight loop (as in "for i = 1 to activesheet.chartobjects.count" ) has wrong results, just like every other attempt and regardless of whether the if test was being used or not. There are 6 charts on the tab, only three show up in both the actual text file and the debug print statement.
No matter what the code is, charts are being skipped. To state it another way, Pict.Name and Pict.Chart.Name return the exact same matching values - every time. But both only return three names and there are six charts, and all six have unique names in the name box. No matter if I look at the output in the text file or from the debug print statement, its the same issue. Six charts in the tab, only three recognized. And I do betray my ancient status as a coder. The last time I did any Basic coding, there was no such thing as a for each loop so the "for i = 1 to ..." is normal to me. I did double check the name box again for all six charts, and all the names are both unique and do not contain punctuation either (unless an underscore is considered punctuation). I'm obviously missing something since it appears you're saying I have dupe names, but I have no way of which I'm aware to change the duplicate ones nor is there any code that I can run which will distinguish the dupes. The only way that works on new copied charts is not to change the name but rather hard code it into a select case set of statements based on the "Chart ###" name. Are you saying that this is expected behavior and an open and old bug (or something similar), and that I should just continue to do the hard coding and work around? I'm not trying to be accusatory, just in case. Regards, bart Quote:
Last edited by bart13 : June 11th 08 at 08:13 AM |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 error "some chart types cannot be combined with other chart types. Select a different chart types" | Charts and Charting in Excel | |||
chart from pivot data does not update x-axis bar chart values - bug | Excel Discussion (Misc queries) | |||
Double-stacked Bar Chart WITH a Secondary Y Axis Line chart? | Charts and Charting in Excel | |||
Huge differences in chart values screws my bar chart scale up. | Charts and Charting in Excel | |||
scatter chart insists on plotting as a line chart | New Users to Excel |