Sub Delete_Ligne_Colonne_Hidden()
Dim Derlig&, DernCol%, i&
Dim Ws As Worksheet
For Each Ws In ActiveWorkbook.Worksheets
Derlig = Ws.Range("A" & Rows.Count).End(xlUp).Row 'A adapter éventuellement
DernCol = Split(Ws.Range("A" & Derlig).CurrentRegion.Address, "$")(3) 'A adapter éventuellement
For i = DernCol To 1 Step -1
If Columns(i).EntireColumn.Hidden = True Then Columns(i).EntireColumn.Delete Else
Next
For i = Derlig To 1 Step -1
If Rows(i).EntireRow.Hidden = True Then Rows(i).EntireRow.Delete Else
Next
Next Ws
End Sub