Results 1 to 2 of 2

complex macro needed for pivot table

Threaded View

  1. #1
    Registered User
    Join Date
    02-18-2014
    Location
    Stockholm
    MS-Off Ver
    Excel 2010
    Posts
    13

    complex macro needed for pivot table

    Dear Excelers,

    Perhaps someone is willing to help solve my work task by writing a suitable macro!
    I would like to automatically change the filter and show data before a date in a few pivot tables.
    I have looked up how to do this with coding, but think it is quite a bit above my understanding.

    Essentially it should be a looping macro so that after all the actions for row 3 are complete, that it starts with row 4, then row 5, etc.
    There will be a lot of data so untill the macro hits an empty cell.

    step 1. all the pivot tables to be in Z->A order so that the latest dates are on top
    step 2. the date in A3 to become the date in all the pivot tables before which all data is shown
    step 3. the content of B3 to be in sheet2B1 and also sheet2N1
    step 4. the content of C3 to be in sheet2H2 and also sheet2N2
    step 5. the values from sheet 4 (which are based on the pivot tables) to be placed in the corresponding rows in sheet 3, so D3:F3 and then D4:F4
    then repeat for the next row

    perhaps there should be a refresh of the Pivot table somewhere? I don't know if that is necessary.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] macro needed to generate pivot table with exact format
    By turbo600hp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2013, 05:17 AM
  2. Macro Help Needed - Link Pivot Table Filter to Regular Table AutoFilter
    By ycx1129 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-11-2011, 12:54 PM
  3. Macro needed for pivot table
    By PlanetGong in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2009, 05:55 PM
  4. Help needed with Pivot table macro to remove data
    By Nelly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2006, 09:00 PM
  5. [SOLVED] Macro Needed for Pivot Table
    By douglascfast@hotmail.com in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-12-2005, 12:10 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