Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default mouseover-event

how do I make a hidden object (textbox) Visible when moving the cursor over a
visible object, using the MouseOver-event
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default mouseover-event

There is no MouseOver event in Excel. See the following:
http://www.mrexcel.com/board2/viewto...mouse+location

Mike F
"willg" wrote in message
...
how do I make a hidden object (textbox) Visible when moving the cursor
over a
visible object, using the MouseOver-event



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default mouseover-event

As Mike said MouseOver is not supported.

If your objects are ActiveX controls from the Controls toolbox toolbar you
can use MouseMove. Add two labels and a commandbutton and the following into
the worksheet module

Private Sub Label1_MouseMove(ByVal Button As Integer, _
ByVal Shift As Integer, _
ByVal X As Single, ByVal Y As Single)
If Not CommandButton1.Visible Then
CommandButton1.Visible = True
End If
End Sub

Private Sub Label2_MouseMove(ByVal Button As Integer, _
ByVal Shift As Integer, _
ByVal X As Single, ByVal Y As Single)
If CommandButton1.Visible Then
CommandButton1.Visible = False
End If
End Sub

In the above the CommandButton1 example does not need to be from the
controls toolbox, could be any shape or object that supports visible.

Regards,
Peter T


"willg" wrote in message
...
how do I make a hidden object (textbox) Visible when moving the cursor

over a
visible object, using the MouseOver-event



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
MouseOver Gary''s Student Excel Discussion (Misc queries) 2 August 21st 09 12:04 AM
can I create a mouseover in excel Bamark Excel Discussion (Misc queries) 0 March 31st 09 03:07 PM
On MouseOver for Cells/Sheets Andrew Excel Programming 3 September 21st 05 02:36 PM
VLOOKUP with mouseover? Cheese Excel Programming 4 July 30th 05 04:32 AM
Image with mouseover text Matt Jensen Excel Programming 3 January 4th 05 04:19 PM


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