Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using a handheld scanner that reads inventory data and inputs it in to a
spreadsheet. There are 3 data items per row. I am looking for a macro that will automatically tab over to the next cell to await new input, and also to move to the home position in a new row after the 3rd data item is scanned. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
TaxMan
This little macro will do that. Place it in the sheet module of your sheet. To access that module, right-click on the sheet tab and click on View Code. "X" out of the module to return to your sheet. I assumed your 3 columns are A, B, C. HTH Otto Private Sub Worksheet_Change(ByVal Target As Range) If Target.Count 1 Then Exit Sub If IsEmpty(Target.Value) Then Exit Sub If Target.Column < 3 Then _ Target.Offset(, 1).Select If Target.Column = 3 Then _ Target.Offset(1, -2).Select End Sub "TaxMan" wrote in message ... I am using a handheld scanner that reads inventory data and inputs it in to a spreadsheet. There are 3 data items per row. I am looking for a macro that will automatically tab over to the next cell to await new input, and also to move to the home position in a new row after the 3rd data item is scanned. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Ron DeBruin Macro - Moving Sheet Name from Last Column to Column A | Excel Worksheet Functions | |||
Moving to Column A using a macro | Excel Discussion (Misc queries) | |||
macro to automatically sum a column based on another | Excel Programming | |||
Macro to change the column references automatically | Excel Programming | |||
moving the formula "average" over one column in a macro | Excel Worksheet Functions |