Hi,
The below code snaps the cursor back to the last >0 cell in column B one second after ANY other cell in the WS is edited/entered... However, I'm trying to narrow this code to NOT apply to columns D & F (i.e., if I edit a cell in D or F, I do NOT want the cursor snapped back). Anyone know a way to tweak this?
Thanx a lot,
Frith
Dim LR As Long
LR = Range("B" & Rows.Count).End(xlUp).Row
If Target.Cells.Count > 1 Or IsEmpty(Target) Then
Exit Sub
Else
Application.Wait Time + TimeSerial(0, 0, 1)
Application.Goto Range("B" & LR)
End If
The below code snaps the cursor back to the last >0 cell in column B one second after ANY other cell in the WS is edited/entered... However, I'm trying to narrow this code to NOT apply to columns D & F (i.e., if I edit a cell in D or F, I do NOT want the cursor snapped back). Anyone know a way to tweak this?
Thanx a lot,
Frith
Dim LR As Long
LR = Range("B" & Rows.Count).End(xlUp).Row
If Target.Cells.Count > 1 Or IsEmpty(Target) Then
Exit Sub
Else
Application.Wait Time + TimeSerial(0, 0, 1)
Application.Goto Range("B" & LR)
End If