+ Reply to Thread
Results 1 to 3 of 3

maintain format on pivot table

  1. #1
    Registered User
    Join Date
    08-12-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    98

    maintain format on pivot table

    Hello

    I use this macro to maintain the formatting of the table,

    I have to launch the macro each time I filter some of the "report filter" fields

    is it possible to have the macro kick in when I change the filter ?

    Thanks for Reading

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: maintain format on pivot table

    • Right-click on the pivot table's worksheet tab
    • Select View Code from the pop-up context menu
    • Paste the code from below in the worksheet's code module
    • Change the E2 to the cell that has the "report filter" field

    This code should automatically trigger when you make a change to that cell

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    08-12-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    98

    Re: maintain format on pivot table

    Quote Originally Posted by AlphaFrog View Post
    • Right-click on the pivot table's worksheet tab
    • Select View Code from the pop-up context menu
    • Paste the code from below in the worksheet's code module
    • Change the E2 to the cell that has the "report filter" field

    This code should automatically trigger when you make a change to that cell

    Please Login or Register  to view this content.
    it worked!! thank you !!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Maintain the format of the graph when filtering pivot
    By guildford in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-19-2015, 02:10 PM
  2. Maintain Custom Sort when Refreshing Pivot Table Excel 2013
    By DavidMichaelangelo in forum Excel General
    Replies: 0
    Last Post: 05-28-2013, 10:41 AM
  3. Replies: 2
    Last Post: 05-24-2013, 03:58 PM
  4. Replies: 0
    Last Post: 03-12-2013, 01:41 PM
  5. Replies: 0
    Last Post: 10-23-2010, 01:26 PM
  6. [SOLVED] Maintain Format of Pivot Table
    By Cash in forum Excel General
    Replies: 1
    Last Post: 03-30-2006, 02:25 PM
  7. maintain:Pivot Table Calculations
    By Dave in forum Excel General
    Replies: 1
    Last Post: 04-22-2005, 10:06 PM

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