+ Reply to Thread
Results 1 to 9 of 9

How to Disable automatic fields in pivot table like total and count on fields

  1. #1
    Registered User
    Join Date
    09-09-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    How to Disable automatic fields in pivot table like total and count on fields

    Hi,

    I need help with the pivot table,basically i am binding record set to the pivot table using vba,but i am facing problem while binding data,i cant reterive all t the data using orientaton and position and the reason i think is because of automatic calculations.
    also how can i disable automatic calculations in the table like sum,count that applies on other fields

    thanks for the help
    Last edited by anushka; 09-24-2009 at 07:02 AM. Reason: as per forum rules

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    21,528

    Re: pivot table

    Not entirely sure I follow... do you mean

    Please Login or Register  to view this content.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,202

    Re: pivot table

    anushka, please take a little time to read the Forum Rules, specially Thread Titles which should give an indication of what your question is about.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: How to Disable automatic fields in pivot table like total and count on fields

    Your question doesn't make any sense to me, I'm afraid. Can you clarify exactly what you are having problems with? (any data field in a PT has to have a function applied to it)
    Remember what the dormouse said
    Feed your head

  5. #5
    Registered User
    Join Date
    09-09-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: How to Disable automatic fields in pivot table like total and count on fields

    Hi Roy

    I have completed the title modification

    Thanks

  6. #6
    Registered User
    Join Date
    09-09-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: How to Disable automatic fields in pivot table like total and count on fields

    Hi there,

    Thanks for the reply, basically i am attaching a recordset to the pivot table
    i can get data certain fields,but i cant get data on some field .The pivot table automatically calculates the Total and count on the fields which is causing problem might be

    Please Login or Register  to view this content.
    This way i am accessing data but i have two issues
    forum
    1. I cannot reterive all fields data using above procedure,throws an error(Is there a better way to do this?)
    2. Want to disable unnecessary fields like Total,Data(Count) which calculates on the other fields

    basically i want to give a table data in pivot table

    Thanks for the help
    Last edited by anushka; 09-24-2009 at 07:56 AM. Reason: forum rule#3

  7. #7
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: How to Disable automatic fields in pivot table like total and count on fields

    1. What error are you getting and on which line?
    2. I'm still not clear on this, I'm afraid. Any field in the Data Area has to have a function applied, but if you are talking about subtotals for the row fields and/or row/column grand totals, you can turn those off?

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    21,528

    Re: How to Disable automatic fields in pivot table like total and count on fields

    anushka,

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here

    please edit your prior post as per above.

  9. #9
    Registered User
    Join Date
    09-09-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: How to Disable automatic fields in pivot table like total and count on fields

    Hi,'

    Thanks for the reply,basically i am getting the error as unable to set the orientation property while i am acessing 4th item add to the above

    Please Login or Register  to view this content.
    And also pls suggest how to disable the automatic calc using vba apart from the above

    Thanks
    Last edited by anushka; 09-24-2009 at 08:01 AM. Reason: forum rule#3

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1