Hi,
I have written the following code, expecting this to loop down from the cell named "TT_Unload", until all 3 conditions are met, however this is exiting the loop straight away.
Can anybody help? I have been trying to get to the bottom of this for the last 3 hours!
I have written the following code, expecting this to loop down from the cell named "TT_Unload", until all 3 conditions are met, however this is exiting the loop straight away.
Code:
Do While Range("TT_Unload").Offset(iLookup) <> "" And _
Range("TT_Unload").Offset(iLookup) <> Range("Report_Unload").Offset(iCount) And _
Range("TT_Unload").Offset(iLookup, 1) <> Range("Report_Dest").Offset(iCount)
iLookup = iLookup + 1
Loop
Can anybody help? I have been trying to get to the bottom of this for the last 3 hours!