Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default MouseHover in VBA

Simple problem with a simple answer I hope.

I want to call a mouseHover or mouseOver event on an Excel sheet in VBA.

I want to be able to change the colour or the text of an object (textbox,
autoshape, etc) on an excel sheet simply by moving the mouse over the object.

I.e. To clarfiy that an object can be clicked by re-colouring it slightly,
like many users are familiar with on web-site interfaces.

I'm aware the VB code is:

Private Sub Button_MouseHover(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button.MouseHover

.... sadly this doesn't appear to hold true for VBA?

Thanks,

Mark.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default MouseHover in VBA

As you have discovered, there is no such worksheet event but go to the
following link and I think you will find what you need.

http://www.mrexcel.com/board2/viewto...mouse+location

"MarkBradshaw" wrote:

Simple problem with a simple answer I hope.

I want to call a mouseHover or mouseOver event on an Excel sheet in VBA.

I want to be able to change the colour or the text of an object (textbox,
autoshape, etc) on an excel sheet simply by moving the mouse over the object.

I.e. To clarfiy that an object can be clicked by re-colouring it slightly,
like many users are familiar with on web-site interfaces.

I'm aware the VB code is:

Private Sub Button_MouseHover(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button.MouseHover

... sadly this doesn't appear to hold true for VBA?

Thanks,

Mark.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default MouseHover in VBA

Cheers,

It seems like a lot of effort, It may well get pushed down in priority a bit!

Thanks though,

Mark.

"Enohp Aikon" wrote:

As you have discovered, there is no such worksheet event but go to the
following link and I think you will find what you need.

http://www.mrexcel.com/board2/viewto...mouse+location

"MarkBradshaw" wrote:

Simple problem with a simple answer I hope.

I want to call a mouseHover or mouseOver event on an Excel sheet in VBA.

I want to be able to change the colour or the text of an object (textbox,
autoshape, etc) on an excel sheet simply by moving the mouse over the object.

I.e. To clarfiy that an object can be clicked by re-colouring it slightly,
like many users are familiar with on web-site interfaces.

I'm aware the VB code is:

Private Sub Button_MouseHover(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button.MouseHover

... sadly this doesn't appear to hold true for VBA?

Thanks,

Mark.

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



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