Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default changing image when mousepointer moves over certain cells

Hi,

I would like to change the image in a userform when the mousepointers moves
over a certain cell.
I know how to make it work when the cell is selected but not when only the
mousepointer is above the cell.
Can anyone help me?

Thanks,

Lieven

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default changing image when mousepointer moves over certain cells

If you mean to load and display the userform on cell mouse move; then try
placing a image control from Control ToolBox.
--Right clickFormatControlProperties and check 'Move and size with cells
--Right clickPropertiesBorderStylle to 0-fmBorderStyleNone
--Right clickPropertiesBackcolor to match cell back color
Double click the control and use the mousemove event

Private Sub Image1_MouseMove(ByVal Button As Integer, ByVal Shift As
Integer, ByVal X As Single, ByVal Y As Single)
'your code to load userform,chnage image,show form
End Sub


If this post helps click Yes
---------------
Jacob Skaria


"lieven" wrote:

Hi,

I would like to change the image in a userform when the mousepointers moves
over a certain cell.
I know how to make it work when the cell is selected but not when only the
mousepointer is above the cell.
Can anyone help me?

Thanks,

Lieven

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 100
Default changing image when mousepointer moves over certain cells

Put a object from the ActiveX controls toolbar, like a lable on that cell
double click that label which will bring up the code mudule for that label
and put your code in the 'MouseMove' event handler.

Hope this helps.

A. Ch. Eirinberg
"lieven" wrote:

Hi,

I would like to change the image in a userform when the mousepointers moves
over a certain cell.
I know how to make it work when the cell is selected but not when only the
mousepointer is above the cell.
Can anyone help me?

Thanks,

Lieven

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
TIFF image moves for no reason when printed Nikko963 Excel Discussion (Misc queries) 1 July 28th 09 10:25 PM
mousepointer Bob[_77_] Excel Programming 4 September 23rd 08 06:09 PM
how can I embed an image in a cell so it moves correctly during so Wilf Excel Discussion (Misc queries) 3 March 4th 07 02:43 PM
MousePointer Mangesh Yadav[_4_] Excel Programming 1 August 3rd 05 06:28 AM
Qn: MousePointer Michael Vaughan Excel Programming 2 September 6th 04 04:56 AM


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