Sub NoColonneCachee()
' Affiche le numéro de la dernière colonne cachée poue une plage
' de cellules sélectionnées
Dim rg As Range
Dim i As Long, j As Long, n As Long
Dim Max As Long
Set rg = Selection
i = rg.Cells(1, 1).Column
j = rg.Cells(1, rg.Columns.Count).Column
Max = 0
For n = i To j
If Columns(n).Hidden Then Max = n
Next n
MsgBox "Dernière colonne cachée : " & Max
End Sub