Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing cells in Excel PivotTable created by VFP
Message
From
17/02/2000 17:13:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/02/2000 17:11:17
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00333631
Message ID:
00333772
Views:
19
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform