Hi Brian -
Consider it confirmed. I have routines that work only on the selected charts
on a worksheet, but if there are multiple charts, and I select more than
one, then all charts are processed. VBA apparently cannot distinguish
unselected from selected charts in 2007.
The workaround is that, if I also select a drawing object (a shape), my
routines can once again distinguish between selected and unselected charts.
However, I haven't figured out programmatically how to add a shape to the
selected items, without the selection picking up the unselected charts.
I think I've reported this as a bug. I'll check, and if I haven't I will do
so.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______
> If I hold down the shift key and click on some, but not all, of the
> embedded charts on a worksheet, and go the VBA and do
[quoted text clipped - 11 lines]
>
> Brian Murphy
xlrotor - 03 Mar 2008 14:19 GMT
Thank you for the conformation, John.
It's good that it's not something I was doing wrong, but bad that
Excel 2007 has such a serious problem.
By the way, my own list of excel 2007 VBA glitches and workarounds
might be useful to others. Is there a publicly accessible list like
this anywhere?
Brian
Jon Peltier - 03 Mar 2008 14:46 GMT
Brian -
I don't know of such a list, but if you forward it to me, I can add my
stuff, forward it to the authorities, and post a copy.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______
> Thank you for the conformation, John.
>
[quoted text clipped - 6 lines]
>
> Brian
xlrotor - 03 Mar 2008 18:44 GMT
I'll work on my list.
My current wrestling match with xl2007 over is custom placement of
chart point DataLabels. It's soooooo sloooowwwww. But I've still got
ideas to try, yet.
Brian
Jon Peltier - 03 Mar 2008 23:36 GMT
Too bad we have to try so many new ideas to make it work the way it used to.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______
> I'll work on my list.
>
[quoted text clipped - 3 lines]
>
> Brian