D
dario90
I'm a newbie in this topic but tried to make sth like that:
Sub CommandButton1_Click()
Columns("C:C").Select
For Each Cell in Selection
If Cell.Value <>"" Then
ActiveCell.Select
Selection.Copy
Sheet("Sheet2").Select
Range("E3:F4").Select
ActiveSheet.Paste
ActiveSheet.PrintOut
End If
Next Cell
End sub
I wanted to check values in column C in Sheet1 and if Cell isn't null
then copy this value to 2nd sheet which is a pattern of label and
print label but it returns me error when refering to 2nd sheet. Can
anyone help me with this?
Sub CommandButton1_Click()
Columns("C:C").Select
For Each Cell in Selection
If Cell.Value <>"" Then
ActiveCell.Select
Selection.Copy
Sheet("Sheet2").Select
Range("E3:F4").Select
ActiveSheet.Paste
ActiveSheet.PrintOut
End If
Next Cell
End sub
I wanted to check values in column C in Sheet1 and if Cell isn't null
then copy this value to 2nd sheet which is a pattern of label and
print label but it returns me error when refering to 2nd sheet. Can
anyone help me with this?