Looking for a short key

Mallesh23

Well-known Member
Joined
Feb 4, 2009
Messages
970
Office Version
  1. 2010
Platform
  1. Windows
Hi All,

I want to move cursor from one place to another without the use of mouse. So Can any one tell me a short cut key for this........


I will be more glad if anyone come with the answers.......

Thanks,
Mallesh
"Where there is will there is a way"
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Stormseed

Banned
Joined
Sep 18, 2006
Messages
3,274
How do you define "from one place to another" ? where and what is that place ?

I will be more glad if you can clarify the place in your question :LOL:
 
Upvote 0

Tom Urtis

MrExcel MVP
Joined
Feb 10, 2002
Messages
11,282
I want to move cursor from one place to another without the use of mouse. So Can any one tell me a short cut key for this........
This will place the cursor at the upper left corner of cell B2 which, if you assign a shortcut key to the macro, will mean the mouse is not involved. Modify for desired destination cell.

Code:
Public Declare Function SetCursorPos Lib "user32" (ByVal x As Long, ByVal y As Long) As Long
 
Sub SetCursorUpperLeftCorner()
Dim x&, y&
With ActiveWindow
x = .PointsToScreenPixelsX((Range("B2").Left) * 1.38888888888889 * .Zoom / 100)
y = .PointsToScreenPixelsY((Range("B2").Top) * 1.38888888888889 * .Zoom / 100)
End With
SetCursorPos x, y
End Sub
 
Upvote 0

Mallesh23

Well-known Member
Joined
Feb 4, 2009
Messages
970
Office Version
  1. 2010
Platform
  1. Windows
Hi,

I want to move the cursor on the desk top with the keyboard........without using mouse. could you please tell me the key's which is used for this.....

Regards,
Mallesh
"Where there is a will there is a way"
 
Upvote 0

Stormseed

Banned
Joined
Sep 18, 2006
Messages
3,274
Mr. Tom.

I have learnt quite a few things from this Board. The most primary lesson I learnt was to first understand the question asked by the OP properly :biggrin:

Mallesh:

Assuming that you use Windows XP, follow these steps:

1) Click Start --> Control Panel.
2) Accesibility Options.
3) Mouse tab --> Use Mouse keys.
4) Finally, click on OK.
 
Upvote 0

Forum statistics

Threads
1,191,124
Messages
5,984,784
Members
439,911
Latest member
dk73

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top