Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Workbook-Events donīt work with ChartObjects

I have some problems with Excel-ChartObjects and Workbook-Events. When I
try to switch between 2 different workbooks the events
Workbook_Activate and Workbook_Deactivate are not executed when a
(embedded) ChartObject is selected. When I deselect the Chart by
clicking into any cell the events work.
I am working with Excel2000 but I tested this with Excel2002 as well
and had the same problems.

I tested this with 2 simple workbooks (Book1 with chart, book2 without
chart) and just MessageBoxes in the Activate/Deactivate-Events to see
wether my code is the reason for this behavior. But as well when the
chart is not selected and I switch Books, all 4 MsgBoxes appear. When
the chart is active and I switch from Book2 to Book1 everthing works,
but form Book1 to Book2 no MsgBox appears.

Can anybody help me with this?

Thank you

Martin



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

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
Understand Workbook/Worksheet Events Zamdrist Excel Discussion (Misc queries) 4 August 10th 06 04:56 PM
Not allow selection of chartobjects ? Gunnar Johansson Charts and Charting in Excel 0 May 8th 05 01:40 PM
Marcowarnings when pasting chartobjects to powerpoint Marie J-son Charts and Charting in Excel 2 March 3rd 05 02:54 AM
Workbook Events Geoff[_8_] Excel Programming 0 September 13th 03 09:28 AM
Events for workbook close Aaron Queenan Excel Programming 6 July 15th 03 09:09 PM


All times are GMT +1. The time now is 04:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright Đ2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"