shortcut key to move to beginning of new row

B

bob engler

I am trying to use a barcode scanner to scan in
inventory items into 3 adjacent columns and then
would like to have it automatically go to the beginning
of the next row by scanning the barcode for a sequence
that would put the cursor at the beginning of the next
row for the next 3 inputs.

Is there a key sequence that will do that??

Thanks....
 
R

Richard Buttrey

I am trying to use a barcode scanner to scan in
inventory items into 3 adjacent columns and then
would like to have it automatically go to the beginning
of the next row by scanning the barcode for a sequence
that would put the cursor at the beginning of the next
row for the next 3 inputs.

Is there a key sequence that will do that??

Thanks....

I don't know of a key sequence that will send the cursor both down and
then left.
CTRL and Left arrow will go to the start of a row.

Have you thought of running a Worksheet_Change macro from a barcode
sequence, and having the macro move the cursor to the start of the
next row when the third column contains the active cell?

e.g. Assumes data is entered to columns A:C


Private Sub Worksheet_Change(ByVal Target As Range)
If ActiveCell.EntireColumn.Address = "$C:$C" Then
ActiveCell.Offset(1, -2).Select
End If
End Sub

HTH

__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top