I have a range of non-contiguous cells that I want to copy across from one sheet (wseDNA1) to a second sheet (wsElog1). I only want to copy if the value in wseDNA1 is not "NR", and if the cell in wsElog1 does not already contain a value. I wanted to do a loop, but am not sure how to do this without it looking at every cell, and not just the cells I want to copy. Below is an example of the copy range without the conditional rules. I will have more than a hundred of these to map across every day.
wsElog1.Range("BP" & RowNum) = wseDNA1.Range("AE12")
wsElog1.Range("BQ" & RowNum) = wseDNA1.Range("AG12")
wsElog1.Range("BN" & RowNum) = wseDNA1.Range("AO12")
wsElog1.Range("BR" & RowNum) = wseDNA1.Range("AQ12")
wsElog1.Range("BS" & RowNum) = wseDNA1.Range("AS12") ```
Loop and Conditionally Copy Values