Results 1 to 11 of 11

Create a Pivot Table with VBA

Threaded View

  1. #1
    Registered User
    Join Date
    09-11-2014
    Location
    San Francisco, CA
    MS-Off Ver
    2013
    Posts
    24

    Create a Pivot Table with VBA

    Hello,

    I'm trying to write a code that will create a pivot table. I'm try to do this using a pivot table cache, but I can't seem to be able to get it working the way I want to.

    The attached workbook has two spreadsheets. The first sheet is a set of data, the second is the hoped-for pivot table. I'd like to have a code that generates this pivot table (the generated pivot table should be in a separate worksheet from the data). The row labels = city, values = count of Number of Complaints, values = sum of Number of Complaints.

    Thank you for any ideas on how to make this work. I greatly appreciate it!
    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. Create a macro to create a pivot table in a worksheet
    By Triscia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2015, 10:53 AM
  2. Macro to create pivot table/pivot chart
    By Karina in forum Excel General
    Replies: 2
    Last Post: 10-27-2011, 10:33 PM
  3. [SOLVED] Create Pivot Table: Cannot Open Pivot Table Source File
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-05-2010, 05:11 AM
  4. Create pivot table from exisiting pivot table
    By cmb80 in forum Excel General
    Replies: 1
    Last Post: 09-18-2009, 07:10 AM
  5. How do I create multiple pivot charts from one pivot table?
    By Rudy in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-17-2006, 06:10 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