I can't stop the second loop. It just keeps incrementing. How do I stop a While Loop in VBA?
While Sheets("Temp BU v2").Cells(1, iColCountTempList) <> ""
If sChooseTemp = Sheets("Temp BU v2").Cells(1, iColCountTempList) Then
MsgBox "WHOOHOO!"
While Sheets("Temp BU v2").Cells(iRow, iColCountTempList) <> ""
If sChooseTempCont = iRow Then
MsgBox "YEAH!"
sFinalMail = Sheets("Temp BU v2").Cells(iRow, iColCountTempList)
Else
iRow = iRow + 1
End If
Wend
Else
iColCountTempList = iColCountTempList + 1
End If
Wend