Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel pivot table
Message
De
15/01/2018 12:51:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01657197
Message ID:
01657200
Vues:
96
>Hi: What is the correct syntax for creating an excel pivot table. I have looked at excel's code for doing this but it is far from straightforward. So far, I have the following:
>
>
>top_cell     = oCalcs.Range("a2:a2")
>calcs_range  = oCalcs.Range(top_cell,lastCell)
>oSourceData = oCalcs.Range(top_cell,lastCell)  && here is the source range data for the pivot table
>oDestination = oWorkBook2.Sheets("2").range("a1:a1")  && here is the range for where the table will go
>
>** code to create pivot table ??
>
>

I wrote an article about this not long ago, but it's not on my website yet. It was in FoxRockX sometime last year.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform