[VBA] Pivot Table
Résolu
Inufus
-
Inufus -
Inufus -
A voir également:
- [VBA] Pivot Table
- Table ascii - Guide
- Table des matières word - Guide
- Table des caractères - Guide
- L'indice n'appartient pas à la sélection vba - Forum VB / VBA
- Incompatibilité de type vba ✓ - Forum Programmation
1 réponse
Je l'ai résolu.
La solution :
La solution :
Sub TableauDynCroise() range(Sheets("Liste").Cells(1,1),Sheets("Liste").Cells(4,178).Select Rand("M5").Activate ---->ActiveWorkbook.PivotCaches.Caches(SourceType:=xlDatabase, SourceData:=range(Sheets("Liste").Cells(1,1),Sheets("Liste").Cells(4,178), Version:xlPivotTableVersion10).CreatePivotTable TableDestination:=Sheets("Feuil6).cells(1,1)", TableName:= "Tableau croisé dynamique5", DefaultVersion:=xlPivotTableVersion10