Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editing cells in Excel PivotTable created by VFP
Message
De
17/02/2000 17:13:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/02/2000 17:11:17
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00333631
Message ID:
00333772
Vues:
17
>>I've never used this but I just created a real neat pivot table using the PivotTable Wizard in VFP. Now, the user wants to edit the data and can't. How can I enable editing on this PivotTable?
>
>
John,
>Pivot tables are summary tables. You cannot edit its data directly (like a readonly SQL cursor). To be able to edit you should pastespecial the values onto a new sheet (assuming your pivottable is on sheet named "PivotSheet") :
>
#define xlValues  -4163
>with oExcel
>    .Sheets("PivotSheet").Cells.Copy && Copy pivot table to clipboard
>    .Sheets.Add  && Add a new sheet to paste
>    .ActiveSheet.Name = "PivotCopy" && Name the sheet
>    .Range("A1").PasteSpecial(xlValues) && Pastespecial values
>endwith
Now they could edit it (copy).
>Cetin


BTW I didn't only copy pivottable but all cells of sheet where pivottable is.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform