Consulting

Results 1 to 2 of 2

Thread: PivotTable Annoyance

  1. #1

    PivotTable Annoyance

    Hi All,

    I have a bunch of PivotTables that needs formatting to be prepped for word documents as they are linked objects.

    I am running into trouble with the Filter signs that you can use to make selections. Is there a way to hide them?

    One solution is to hide the FieldCaptions.

    Set pvt = ActiveSheet.PivotTables("MobilePlanCount")
    
        With pvt
            .InGridDropZones = False
            .DisplayFieldCaptions = False
        End With
    Another is to copy/paste the pivottable to a new sheet and paste its values+formats that means every pivottable has to have another additional worksheet which becomes cumbersome when you have a lot of Pivots already.

    Open to suggestions or tricks if I am missing any?

    I love how you can do:
    pvt.GrandTotalName = "Total"

    Is there anything for just first row, first cell? after you hide the field headers.

  2. #2
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,715
    Location
    Other than

        ActiveSheet.PivotTables("PivotTable1").DisplayFieldCaptions = False
        ActiveSheet.PivotTables("PivotTable1").ShowDrillIndicators = False
    I don't understand what else you're looking for

    Got a picture or screen shot or a before/after workbook?

    Paul
    Last edited by Aussiebear; 03-29-2023 at 06:01 PM. Reason: Adjusted code tags

Posting Permissions

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