+ Reply to Thread
Results 1 to 2 of 2

Need VBA to Create Pivot Table from Active Sheet, all data

  1. #1
    Registered User
    Join Date
    12-31-2015
    Location
    Orlando, FL
    MS-Off Ver
    2016
    Posts
    15

    Red face Need VBA to Create Pivot Table from Active Sheet, all data

    Hi All,

    I've been searching for the correct code that will create a blank pivot table from a new set of data on the active sheet.

    I attempted to record a macro creating a pivot table but it looks for a specific workbook the next time I use it.

    So I often paste a set of data into a new workbook and then select all the data on the active sheet, then inert pivot table. I would like a macro that will select all data on any sheet I currently have open and then insert a pivot table from that data into a new sheet.

    I hope I'm being clear, thanks!

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Need VBA to Create Pivot Table from Active Sheet, all data

    You could use the pivottable wizard

    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)

Similar Threads

  1. Consolidate into these 2 sheet and create one pivot table
    By cks1026 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-14-2017, 01:51 PM
  2. Replies: 6
    Last Post: 01-24-2017, 06:56 PM
  3. [SOLVED] calculating specific data from a pivot table to create a pivot chart in Excel 2016
    By cinstanl in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-15-2016, 12:14 PM
  4. I want to CREATE TWO PIVOT table in one sheet
    By vinod2802 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-20-2016, 03:32 AM
  5. How to create a macro to create a pivot table on a new sheet
    By thlee1122 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2015, 11:14 AM
  6. Create Pivot Table in Hidden Sheet
    By pmguerra in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2009, 07:04 AM
  7. pivot table doesn't update on sheet active
    By carsto in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2006, 09:46 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