Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default XL2007, Selection.Delete deletes more than the selection

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
Selection.Delete, ALL the charts are deleted.

I am using xl2007SP1

Can anyone else confirm this behavior?

In any earlier excel version, of course, only the selected charts are
deleted.

Is this a known problem with Excel 2007? If so, I think it's a
serious one.

Brian Murphy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default XL2007, Selection.Delete deletes more than the selection

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
_______


"xlrotor" wrote in message
...
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
Selection.Delete, ALL the charts are deleted.

I am using xl2007SP1

Can anyone else confirm this behavior?

In any earlier excel version, of course, only the selected charts are
deleted.

Is this a known problem with Excel 2007? If so, I think it's a
serious one.

Brian Murphy



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default XL2007, Selection.Delete deletes more than the selection

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
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default XL2007, Selection.Delete deletes more than the selection

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
_______


"xlrotor" wrote in message
...
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



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default XL2007, Selection.Delete deletes more than the selection

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


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default XL2007, Selection.Delete deletes more than the selection

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
_______


"xlrotor" wrote in message
...
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



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
Limiting selection in a cell AND linking that selection to a list Lisa Excel Discussion (Misc queries) 1 July 28th 09 05:00 PM
Copy Selection - Paste Selection - Delete Selection Uninvisible Excel Programming 2 October 25th 07 01:31 PM
Copy Selection - Transpose Selection - Delete Selection Uninvisible Excel Discussion (Misc queries) 2 October 23rd 07 04:18 PM
Combo Box selection only shows bound column info after selection made. Coby Excel Programming 1 October 18th 07 02:04 AM
Excel VBA - Range(Selection, Selection.End(xlDown)).Name issue. jonH Excel Programming 3 June 7th 04 09:13 PM


All times are GMT +1. The time now is 05:59 PM.

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"