Atomatically moving the cursor 2 cells to the right.
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo ws_exit:
Application.EnableEvents = False
If Target.Column = 4 Then
With Target
.Offset(0, 2).Select
End With
End If
ws_exit:
Application.EnableEvents = True
End Sub
'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Steved" wrote in message
...
Hello from Steved
If I type in any cell in Col D 40043 the moment it types in the last
numeral
in this case 3 the cursor goes across two tabs to the right to Col F.
In every case it types 5 numerals on the last numeral the cursor then
moves
2 cells to the right.
Thankyou.
|