+ Reply to Thread
Results 1 to 1 of 1

Pivot Table Macro Needs A Minor Fix

  1. #1
    Forum Contributor
    Join Date
    04-20-2011
    Location
    New York, New York
    MS-Off Ver
    Excel 2010
    Posts
    160

    Pivot Table Macro Needs A Minor Fix

    Hello Everyone,

    I need a fix for the following code that should change the background color of the pivot field "Year" labels ("2010", "2011", etc....) to grey. Since the pivot table can expand from year 2010 to 2020 or beyond, I having a hard time to code this macro just right.

    I posted a visual as part of this post of what I want the end result to be ; I want year labels 2010 - to the last column (the year labels can contract and expand) of year labels to be colored grey (I hide rows 6-8 because it makes the pivot table look better):

    Code below:

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by boldcode; 08-17-2011 at 11:23 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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