Home |
Search |
Today's Posts |
#11
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try it like this:
Private Sub Worksheet_Change(ByVal Target As Range) Const WS_RANGE As String = "H7:H27" Dim TRow As Integer On Error GoTo ws_exit: Application.EnableEvents = False If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then TRow = Target.Row With Target If LCase(Cells(TRow, 6).Value) = "no" Or _ LCase(Cells(TRow, 7).Value) = "no" Or _ LCase(Cells(TRow, 8).Value) = "no" Then Cells(TRow, 10).Activate Else Cells(TRow + 1, 6).Activate End If End With End If ws_exit: Application.EnableEvents = True End Sub Hope this helps Rowan RJG wrote: Bob, I realise this must be starting to turn into a bad dream, I have tried your suggestion but it returns the curser to the same point. (J7) but in reality I would like it to go to the row in question (J7:J27). I have tried "playing" with the code without success. Is there an easy fix.?? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I move from cell A 10 to cell B1 with one move or click | Excel Worksheet Functions | |||
Arrow keys move screen instead of moving from cell to cell | Excel Discussion (Misc queries) | |||
formula, move to previous cell when the current cell=0 or empty | Excel Discussion (Misc queries) | |||
How do I make my arrow buttons move from cell to cell in Excel? | Excel Discussion (Misc queries) | |||
arrow keys move entire sheet instead of cell to cell | Excel Worksheet Functions |