Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Does anyone know a more efficient way to write this code...as I will be
checking 50k+ rows Sub Tester() X = 2 Do While X < 9 Dept_Checker = Cells(X, 1) CoversDept = Range("CoversDept") For Each Dept In CoversDept If Dept_Checker = Dept Then Active_Department = Dept_Checker Next Cells(X, 17) = Active_Department X = X + 1 Loop End Sub -- Helping Is always a good thing |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Looping through a range | Excel Programming | |||
Copying Range Based On Certain Criteria? Possible looping through the Range | Excel Programming | |||
Determine if range has NO Blank Cells without looping through each cell in range | Excel Programming | |||
Looping Range | Excel Programming | |||
Looping through a range | Excel Programming |