Automatically selecting a cell

LINDSAYROSE

New Member
Joined
May 17, 2006
Messages
9
Hi,
I need some help.
When cell R1 is selected i need the cursor to automatically go to cell D2 and so on (R2 to D3 )

the easier the better.

Thanks
Lindsay
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

chicagodiceman

Active Member
Joined
Mar 13, 2004
Messages
371
As long as the offset is always the same, and the only time you want this to work is when the selected cell is in row "R" then place this code in the sheet code:

Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If ActiveCell.Column = 18 Then
ActiveCell.Offset(1, -14).Select
End If
End Sub

If this isn't what you're looking for, please post again.
 

Forum statistics

Threads
1,137,197
Messages
5,680,108
Members
419,880
Latest member
suarezprado

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