Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Which event puts *white* handles around a chart?

Hi folks,

Excel 97. A worksheet with an embedded chart. I have a class module
set up to enable events for the embedded chart. I can handle normal
events just fine. When I click on the chart I get the expected
Chart_Activate, Chart_Select, Chart_MouseDown, etc. So far so good.

When I start by holding down Ctrl or Shift and then click on the
chart, I get selection handles (white squares) around the chart.
That's fine, but which event can trap this? It's not any of the Chart
events and it's not the Worksheet_SelectionChange event. When the
white handles are showing, "?TypeName(Application.Selection)" yields
"ChartObject". I tried setting up a class module for Application
level events and it's none of those either.

So just which event fires for "white" squares around the chart as
opposed to "black" (Activate) squares?

Thanks,

Dan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Which event puts *white* handles around a chart?

Dan,

Embedded charts are contained within ChartObjects, as you have found. If you take a look at the ChartObject object in the Object
Browser you will see that it does not expose any events.

If you are trying to prevent users selecting the chartobjects, you could protect the worksheet.

--

John Green - Excel MVP
Sydney
Australia


"Dan" wrote in message om...
Hi folks,

Excel 97. A worksheet with an embedded chart. I have a class module
set up to enable events for the embedded chart. I can handle normal
events just fine. When I click on the chart I get the expected
Chart_Activate, Chart_Select, Chart_MouseDown, etc. So far so good.

When I start by holding down Ctrl or Shift and then click on the
chart, I get selection handles (white squares) around the chart.
That's fine, but which event can trap this? It's not any of the Chart
events and it's not the Worksheet_SelectionChange event. When the
white handles are showing, "?TypeName(Application.Selection)" yields
"ChartObject". I tried setting up a class module for Application
level events and it's none of those either.

So just which event fires for "white" squares around the chart as
opposed to "black" (Activate) squares?

Thanks,

Dan



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
chart object handles Roland Excel Discussion (Misc queries) 3 February 21st 09 11:27 PM
Chart Sizing Handles Brian Gardner Charts and Charting in Excel 3 June 28th 08 08:16 PM
Pie chart handles in the pivot table don't function hazel Charts and Charting in Excel 4 July 16th 06 12:18 PM
Chart resizing handles Sarge Charts and Charting in Excel 2 January 30th 06 09:09 PM
select a chart without the selector handles showing? Mark Stephens Charts and Charting in Excel 1 May 8th 05 07:00 PM


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