Sub Masquer_vide()
For Each rangee In ActiveSheet.PivotTables("TCD_1").DataBodyRange.Rows
If WorksheetFunction.Sum(rangee.Cells) > 0 Then
x = rangee.Cells(1, 1).PivotCell.RowItems.Count
For Y = x To 1 Step -1
If rangee.Cells(1, 1).PivotCell.RowItems(Y) = "(blank)" Then VVide = Y
Next Y
If VVide <> 0 Then rangee.Cells(1, 1).PivotCell.RowItems(VVide - 1).ShowDetail = False
End If
Next rangee
End Sub