Ok, probably an easy one but I'm just starting to use this language and in this piece of code :
While DATA.Cells(1, i).value & "" <> ""
If InStr(DATA.Cells(1, i).value, columnName) > 0 Then
column = i
Exit While
End If
i = i + 1
Wend
It looks like it's not the way to use Exit While ? How should I do it then ?