Sub Macro8()
Dim Pvt As PivotTable
ActiveWorkbook.RefreshAll
Sheets("TEXTE").Cells.Clear
Set Pvt = Sheets("TCD").PivotTables("Tableau croisé dynamique5")
With Pvt
.PivotSelect "TC[All]", xlLabelOnly, True
.TableRange2.Copy Destination:=Sheets("TEXTE").Range("B2")
End With
Set Pvt = Nothing
End Sub