+ Reply to Thread
Results 1 to 6 of 6

Format a pivot table without activating the worksheet

  1. #1
    Registered User
    Join Date
    11-20-2012
    Location
    Amsterdam, NLD
    MS-Off Ver
    Excel 2010
    Posts
    11

    Angry Format a pivot table without activating the worksheet

    Hi all,

    I have a workbook in which several tabs are used for calculation and two for the resulting PivotTables.
    My ribbon has been modified so that the user can at anytime refresh the calculation and formatting of the whole workbook.

    My problem is that I need to select specific part of each Pivottable in order to format it.
    Hereafter an example :

    Please Login or Register  to view this content.
    The problem is related to PivotSelect . I have to select the tabs before formatting them which makes you epileptic

    Any advice on how to avoid that?

    Cheers.

  2. #2
    Registered User
    Join Date
    11-20-2012
    Location
    Amsterdam, NLD
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Format a pivot table without activating the worksheet

    Anybody an idea?

  3. #3
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Format a pivot table without activating the worksheet

    Do you use Application.Screenupdating = False at the start of your code?
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  4. #4
    Registered User
    Join Date
    11-20-2012
    Location
    Amsterdam, NLD
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Format a pivot table without activating the worksheet

    Yes I use but it doesn't hide the switching between tabs...

    I also tried commenting the code to format the PivotTable once the table was formatted but it gets back to the original style.

    Help?

  5. #5
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Format a pivot table without activating the worksheet

    You should not see tabs switching if you have turned screenupdating off.

  6. #6
    Registered User
    Join Date
    11-20-2012
    Location
    Amsterdam, NLD
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Format a pivot table without activating the worksheet

    Indeed. And I found the problem : the PivotTable Field list should not be anchored.
    Thanks for your help.

+ 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. Replies: 0
    Last Post: 02-11-2014, 02:14 PM
  2. [SOLVED] Pivot Table Summary -- Part #'s do not show in Pivot but data is in worksheet
    By maryren in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-19-2013, 10:51 AM
  3. Replies: 2
    Last Post: 05-24-2013, 03:58 PM
  4. Replies: 0
    Last Post: 03-12-2013, 01:41 PM
  5. Pivot table to launch Macro- preserve format under table options
    By Darin Kramer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2005, 02:05 PM

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