Hi could someone tell me where my code is incorrect? When I use the right arrow then the code works fine, when I try the down arrow it will not enter the figure and move 1 down.
My code:
If KeyCode = vbKeyRight Then
KeyCode = vbKeyReturn And vbKeyTab
End If
' -----------the above code works perfectly, the next set will not enter the data and move down---------
If KeyCode = vbKeyDown Then
KeyCode = vbKeyReturn And vbKeyDown
End If
Thanks
Werner
My code:
If KeyCode = vbKeyRight Then
KeyCode = vbKeyReturn And vbKeyTab
End If
' -----------the above code works perfectly, the next set will not enter the data and move down---------
If KeyCode = vbKeyDown Then
KeyCode = vbKeyReturn And vbKeyDown
End If
Thanks
Werner
Comment