Hi,
i want to look at range(n19:n50) if they contain TRUE take the number in range (L19:L50) put in Sheets("Impressao").Range("BF2") and print Sheets("Impressao").
I figured the code for one:
I could copy this code 31 times.... but it will be simple to use a loop a think. At the moment i dont know how to do it, if anyone can help me it will save me hours of works.
Thanks for your help
i want to look at range(n19:n50) if they contain TRUE take the number in range (L19:L50) put in Sheets("Impressao").Range("BF2") and print Sheets("Impressao").
I figured the code for one:
Code:
If Sheets("Dados").Range("n19") = True Then Sheets("Impressao").Range("BF2") = 1
Sheets("Impressao").PrintOut
If Sheets("Dados").Range("n20") = True Then Sheets("Impressao").Range("BF2") = 2
Sheets("Impressao").PrintOut
If Sheets("Dados").Range("n21") = True Then Sheets("Impressao").Range("BF2") = 3
Sheets("Impressao").PrintOut
......
Thanks for your help