Dear Team
I have an excel file for data entry with fixed 8 rows and 12 columns (D8:O15), the data entry operator will enter the data from D8 to D15 after entering the value in D15 the cursor has to go to E8. After entering the values from E8 to E15 the cursor has to go to F8 like this till O15 they need to enter the data after that they will take the printout and clear the values for next entry.
can you please help me to work on this
I tried with below code for that is working only for one column D8 to D15.
Private Sub Worksheet_Change(ByVal Target As Range)
'Updated by Extendoffice 2020087
Dim tabArray As Variant
Dim i As Long
tabArray = Array("D15", "E8")
Application.ScreenUpdating = False
For i = LBound(tabArray) To UBound(tabArray)
If tabArray(i) = Target.Address(0, 0) Then
If i = UBound(tabArray) Then
Me.Range(tabArray(LBound(tabArray))).Select
Else
Me.Range(tabArray(i + 1)).Select
End If
End If
Next i
Application.ScreenUpdating = True
End Sub
Thanks in advance
Bookmarks