Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default PivotTable: AddDataField method

Hello World!
I'm using the AddDatfield method to add the data field
into a pivottable as part of a custom pivot builder. It
takes it's values from a simple interface. Here's the
gubbins;

(With MyPivottable etc.etc..)

..AddDataField .PivotFields(frmMain.L24.Caption), Plbl,
xlCount

(Plbl=descriptive string of label)
(frmMain.L24.Caption=selected field string)

The problem is that when the user elects to have one of
the selected row or column fields to also use as the data
field, the resulting table has that row/column field
removed from where it was and used as data but not split
out by it's values along the the row or column (phew! hope
that makes sense).

I have a feeling that I should be setting the field
orientation but can I do it for the same field twice?

Any help appreciated.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please post this thread a correct full method, method about Nast Runsome New Users to Excel 8 February 25th 08 03:29 PM
Please post this thread a complete correct method, method about te Nast Runsome New Users to Excel 0 February 23rd 08 09:42 PM
Creating a PivotTable w/o selecting data in an existing PivotTable Damian Excel Discussion (Misc queries) 6 November 2nd 07 04:44 PM
Which method to use Arran New Users to Excel 6 January 12th 07 12:00 AM
best method Tim Excel Discussion (Misc queries) 1 October 17th 05 10:05 AM


All times are GMT +1. The time now is 08:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"