Hello everyone!
I'm back with more questions
So I'd like to know if it's possible to automate TWO steps (key strokes) while keeping the printing macro already in use ?
This is the current macro which enables a quick print every time I complete cell C2 (then C3, C4, and so on)
Sub jumpnext()
Range("B" & ActiveCell.Row + 1).Select
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Dim targCell As Range
Set targCell = Worksheets(1).Range("C2:C100")
If Not Application.Intersect(Target, targCell) Is Nothing Then
If Target.Value = 2 Then
Worksheets(1).PrintOut
End If
End If
End Sub
I'm scanning a number into cell B2, scanner automatically switches to cell C2, I then complete the cell with a particular value (2, which triggers the print macro) and tab to cell D2 and enter another value (let's say 1) and this completes the entire process. I press ENTER, Excel jumps to the next row, starting in B3
Is there a way to automate this process ?
If so, I'd need a tiny delay from one action to the other, so after scanning to cell B2, the scanner tabs to cell C2 (Autocomplete function here ?) (excel prints) then (Autocomplete function here ?) triggering a value in D2, and finally excel returns to the row below (B3) where I would scan the next barcode
Thank you All!
I'm back with more questions
So I'd like to know if it's possible to automate TWO steps (key strokes) while keeping the printing macro already in use ?
This is the current macro which enables a quick print every time I complete cell C2 (then C3, C4, and so on)
Sub jumpnext()
Range("B" & ActiveCell.Row + 1).Select
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Dim targCell As Range
Set targCell = Worksheets(1).Range("C2:C100")
If Not Application.Intersect(Target, targCell) Is Nothing Then
If Target.Value = 2 Then
Worksheets(1).PrintOut
End If
End If
End Sub
I'm scanning a number into cell B2, scanner automatically switches to cell C2, I then complete the cell with a particular value (2, which triggers the print macro) and tab to cell D2 and enter another value (let's say 1) and this completes the entire process. I press ENTER, Excel jumps to the next row, starting in B3
Is there a way to automate this process ?
If so, I'd need a tiny delay from one action to the other, so after scanning to cell B2, the scanner tabs to cell C2 (Autocomplete function here ?) (excel prints) then (Autocomplete function here ?) triggering a value in D2, and finally excel returns to the row below (B3) where I would scan the next barcode
Thank you All!
Last edited: