Mischa123.
New Coder
I'm trying to create a code in Microsoft Visual Basic where I can automatically select a certain part of a document. In this case I only want to print the rows where A is not 0. There for my code has to only select the rows, where A is not 0. In my code I print everything and I don't know how to change it, so it only prints the rows that are filled with information.
Can somebody help me?
Sheets("Print").Select
Range("F2").Select
Range("A1:C3").Select
Selection.PrintOut Copies:=1, Collate:=True
End Sub
Can somebody help me?
Sheets("Print").Select
Range("F2").Select
Range("A1:C3").Select
Selection.PrintOut Copies:=1, Collate:=True
End Sub
| piet | 5 | 1 weiße 1 Körner 3 Roggen |
0 | 0 | |
0 | 0 |