How would I loop through cells B1 to J1 and add them to a range if they meet a certain criteria. For example.
Dim Range1 As Range
For i = 1 to 9
If Range("A1").Offset(1,i) meets a certain criteria Then
**Add that cell to Range1**
End If
Next i
I'm not sure how to approach the part of adding certain cells to Range1.
Thanks for the help!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…