D
dario90
Hi, how can i print , for example, 4 labels on 1 sheet in a horizontal
position? It is my code which creates labels from values in
spreadsheet and printing it:
Private Sub CommandButton1_Click()
Application.ScreenUpdating = False
lr = Cells(Rows.Count, "c").End(xlUp).Row
For Each c In Range("E1:E" & lr)
If c.Value <> "" Then
c.Resize(1, 2).Copy
Sheets("Arkusz2").Range("E3") _
.PasteSpecial Paste:=xlValues, _
Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
For x = 1 To c.Offset(0, 2).Value
Sheets("Arkusz2").PrintOut
Next x
End If
Next c
Application.ScreenUpdating = True
End Sub
position? It is my code which creates labels from values in
spreadsheet and printing it:
Private Sub CommandButton1_Click()
Application.ScreenUpdating = False
lr = Cells(Rows.Count, "c").End(xlUp).Row
For Each c In Range("E1:E" & lr)
If c.Value <> "" Then
c.Resize(1, 2).Copy
Sheets("Arkusz2").Range("E3") _
.PasteSpecial Paste:=xlValues, _
Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
For x = 1 To c.Offset(0, 2).Value
Sheets("Arkusz2").PrintOut
Next x
End If
Next c
Application.ScreenUpdating = True
End Sub