Re: Labels
- From: "Per Jessen" <per.jessen@xxxxxxx>
- Date: Wed, 13 Aug 2008 10:28:54 +0200
Try this:
Sub CommandButton1_Click()
lr = Cells(Rows.Count, "c").End(xlUp).Row
For Each C In Range("C1:C" & lr)
If C.Value <> "" Then
C.Resize(1, 2).Copy Sheets("Sheet2").Range("E3")
Sheets("sheet2").PrintOut
End If
Next C
End Sub
Regards,
Per
<dario90@xxxxxxxxx> skrev i meddelelsen news:09b193b2-62d7-4d87-954c-2f86207174f3@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have sth like this from sb very helpful but need to copy also values
from column D as a item description and set number of labels copies
even to value in column E for each record ( sheet1 is a base, sheet2
is pattern of label):
Sub CommandButton1_Click()
lr=cells(rows.count,"c").end(xlup).row
for each c in range("C1:C" & lr)
If C.Value <>"" Then
c.Copy Sheets("Sheet2").range("E3")
sheets("sheet2").PrintOut
End If
Next C
End sub
Can anybody help me with this?
.
- Follow-Ups:
- Re: Labels
- From: dario90
- Re: Labels
- References:
- Labels
- From: dario90
- Labels
- Prev by Date: Labels
- Next by Date: Re: Help with IF statements
- Previous by thread: Labels
- Next by thread: Re: Labels
- Index(es):
Loading