Sub ProduceEligNonAligned() 'Looping through each of our output cells. For Each g In Range("G2:G21") For Each a In Range("A2:A193") If g.Column = a.Column + 1 Then If g.Column + 2 <> a.Column + 3 Then a.Interior.ColorIndex = 37 'Exit out of this loop and move to the next output cell. Exit For End If End If 'If the columns don't match Next a Next g End Sub
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE