Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 75
Default Subclassing Excel !!! So frustrating !!

Hi all,

I have tried writing subclassing code in Excel time and time again but not
once have I been successful. Either the code just doesn't work or even worse,
it crashes the application.

I have followed every single step described in many VB codes that I have
seen on the Web and on many VB books and have tried applying them to
Excel\VBA but no luck !.

As a simple example, I wanted to trap the Mouse Move event by subcclassing
the Excel application Window so that a Msgbox pops up whenever the user
hovers the mouse over a given worksheet range . Even this basic subclassing
code causes the application to freeze or crash !!! Unbelievable !!!

I have seen many good Excel books showing nice API code examples but they
ALL seem to shy away from \ avoid the subject of subclassing despite being an
extremely powerful technic !!

Does subcclassing not work for VBA\Excel ? Or is it just me who doesn't know
how to implement it ?? I still don't have a clear answer .

Any thoughts would be much appreciated .

Regards.



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
Frustrating options in Excel vs 2003 skm Excel Discussion (Misc queries) 4 September 17th 08 06:36 PM
Very Frustrating - Please Help! picklevote Excel Worksheet Functions 1 September 14th 05 01:32 AM
Subclassing in Excel ! ...So frustrating ! RAFAAJ2000[_2_] Excel Programming 12 May 4th 05 12:54 PM
Simple but frustrating Gordon[_2_] Excel Programming 4 December 18th 04 09:06 PM
Subclassing the EXCEL7 window Timster Excel Programming 0 August 12th 04 12:54 PM


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