+ Reply to Thread
Results 1 to 1 of 1

bug in vba macro to create pivot table

  1. #1
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    bug in vba macro to create pivot table

    I am trying to automate creating a pivot table. I get a feed everyday from another department that contains 40 columns of data. I need to run same pivot table every day using 3 of these columns only (column B, J, & N)

    Right now it is a very manual process.

    The first pivot table is for column B & J where column B is row information of pivot table and column J is the data information.

    The second pivot table is for column B & N where column B is row information of pivot table and column N is the data information.

    Once I have both tables created, I then manually cut and paste information onto a separate sheet called Analysis.

    Is there a way to do this manually? I have created a Macro but I keep getting a bug error and can’t figure out what is wrong with my code.

    I have attached the spreadsheet of what I want the end result to be. The end result is sheet “Analysis”.

    Thanks for any help.


    Please Login or Register  to view this content.

+ 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