![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Location: Leeds UK
Posts: 3
|
is it possible to assign the position at which the mouse left button is pressed to two variables (x coord,y coord) so that macros can act upon where the mouse is. This would save me having to rewrite macros for different positions
cheers pete |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Hi
Sure... In your sub, add the variables which will hold the pointer coords. Ex:
Tom |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|