Re:Bug fonction GETXLCol: nom colonne contenant "Z"
Bon comme celui qui a pondu cette formule a à mon avis laissé un beau bug.. j'ai trouvé une autre formule qui marche
On sait jamais pour ceux qui cherche un truc du genre..
Function CenL(ByVal NoCol As Integer) As String
Dim Alpha As String
Alpha = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
If NoCol <= 26 Then
CenL = Mid(Alpha, NoCol, 1)
Else
NoCol = NoCol - 1
CenL = Mid(Alpha, Int(NoCol / 26), 1) _
& Mid(Alpha, (NoCol Mod 26) + 1, 1)
End If
End Function
Voilà, question posée... question completée..