Hello,
In a macro, I'm applying the same treatment in each Worksheets of the file.
I want to determine wich column contains a specfic text (might be different in each WS).
For Each Cell_version In Ws.Range("1:1")
If Ws.Range(convertir(Cell_version.Column) & "1") = "ICI" Then
Column_version = convertir(Cell_version.Column)
Trouve_col = True
MsgBox (Column_version)
End If
If Trouve_col = True Then Exit For
Next Cell_version
On the first WS everithing is OK (finding in colum D). In the second WS, if it is after D, it is OK, but if it is a columns 1, B, or C, it doesn't return what I want.
Any idea.
Matthieu