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

Pardon my ignorance in such matters, but how do you move the mouse pointer to
a selected cell using a VBA Macro (code contained therein, following the
..Select)?

Thanking you in advance...
--
John
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Moving the Mouse...

Rarely necessary or desirable to select but
range("a4").select will take you there
or
application.goto sheets("sheet4").range("a4") to goto a cell on another
sheet.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"JEB1123" wrote in message
...
Pardon my ignorance in such matters, but how do you move the mouse pointer
to
a selected cell using a VBA Macro (code contained therein, following the
.Select)?

Thanking you in advance...
--
John


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Moving the Mouse...

To the best of my knoweldge you can not move the mouse pointer to the active
or selected cell (easily). The mouse pointer is controled by the operating
system and not by XL so anything you wanted to do would require an API call
which gets a bit tricky...
--
HTH...

Jim Thomlinson


"JEB1123" wrote:

Pardon my ignorance in such matters, but how do you move the mouse pointer to
a selected cell using a VBA Macro (code contained therein, following the
.Select)?

Thanking you in advance...
--
John

  #4   Report Post  
Posted to microsoft.public.excel.programming
JEB JEB is offline
external usenet poster
 
Posts: 40
Default Moving the Mouse...

Jim. Thank you very much. That's what I thought. How about the MouseDown
event en XL? Would that work?

"Jim Thomlinson" wrote:

To the best of my knoweldge you can not move the mouse pointer to the active
or selected cell (easily). The mouse pointer is controled by the operating
system and not by XL so anything you wanted to do would require an API call
which gets a bit tricky...
--
HTH...

Jim Thomlinson


"JEB1123" wrote:

Pardon my ignorance in such matters, but how do you move the mouse pointer to
a selected cell using a VBA Macro (code contained therein, following the
.Select)?

Thanking you in advance...
--
John

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
Moving shapes with the mouse NickHK Excel Programming 1 August 14th 06 11:30 AM
Moving Shapes with the mouse pan65 New Users to Excel 0 August 13th 06 06:35 AM
moving mouse highlights cells without touching left mouse button bremboy Excel Discussion (Misc queries) 2 January 27th 05 06:19 PM
moving mouse pointer nath Excel Programming 1 August 16th 04 08:36 PM
moving mouse pointer nath Excel Programming 0 August 16th 04 05:27 PM


All times are GMT +1. The time now is 10:38 AM.

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"