Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 216
Default How to use mouse events inside an Excel Sheet ?

Hi,
I would like to use mouse events (like MouseMove) at
ExcelSheet level.
How can I do that, if I can?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to use mouse events inside an Excel Sheet ?

Mike,

What are you trying to do?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"mike" wrote in message
...
Hi,
I would like to use mouse events (like MouseMove) at
ExcelSheet level.
How can I do that, if I can?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 216
Default How to use mouse events inside an Excel Sheet ?

Bob,
I'm trying to control mouse movements over an excel sheet.
Specifically: I'd like to trigger an action when I'm over
a specific cell.

Could be possible?
thanks!

-----Original Message-----
Mike,

What are you trying to do?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to use mouse events inside an Excel Sheet ?

The problem is that the mousemovement, which can be done with APIs, return
an x & y co-ordinate relative to the screen, not a cell position.

It might be possible to get the Excel app position and the window position
and work out the cell from all of this, but it sounds more effort than it is
worth.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"mike" wrote in message
...
Bob,
I'm trying to control mouse movements over an excel sheet.
Specifically: I'd like to trigger an action when I'm over
a specific cell.

Could be possible?
thanks!

-----Original Message-----
Mike,

What are you trying to do?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 216
Default How to use mouse events inside an Excel Sheet ?

Well,
If there is a possibility to connect, even across API, a
mouse event with an excel object (application ...),
please, would you tell me how it can be done?
Mike

-----Original Message-----
The problem is that the mousemovement, which can be done

with APIs, return
an x & y co-ordinate relative to the screen, not a cell

position.

It might be possible to get the Excel app position and

the window position
and work out the cell from all of this, but it sounds

more effort than it is
worth.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to use mouse events inside an Excel Sheet ?

I can give you some code that shows the mouse x/y position in the statusbar.
As I said, this is the screen co-ordinate, not the Excel relative
co-ordinates.

Is that any use to you (it's complex)?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"mike" wrote in message
...
Well,
If there is a possibility to connect, even across API, a
mouse event with an excel object (application ...),
please, would you tell me how it can be done?
Mike

-----Original Message-----
The problem is that the mousemovement, which can be done

with APIs, return
an x & y co-ordinate relative to the screen, not a cell

position.

It might be possible to get the Excel app position and

the window position
and work out the cell from all of this, but it sounds

more effort than it is
worth.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)




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
Capturing Insert/Delete Events in Excel Sheet using c# Gaurav Nanda[_2_] Excel Worksheet Functions 0 July 10th 09 06:14 AM
How to get text which is inside the brackets in excel sheet arun Excel Worksheet Functions 2 April 23rd 09 10:18 AM
inserting scrollbar inside an Excel Sheet Genesis[_2_] Excel Discussion (Misc queries) 3 October 23rd 07 05:35 AM
VLOOKUP used with Access DB inside of Excel Sheet Michael Kintner Excel Discussion (Misc queries) 1 February 6th 07 08:44 PM
Mouse over events for Active X objects in excel Shrinu Excel Programming 1 May 26th 04 10:42 PM


All times are GMT +1. The time now is 01:51 AM.

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"