+ Reply to Thread
Results 1 to 4 of 4

Delete Pivot Table Macro

  1. #1
    Registered User
    Join Date
    06-30-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    52

    Delete Pivot Table Macro

    Is there a code to delete existing pivot table?

    Currently, I'm trying

    Worksheets("Dashboard").Activate
    ActiveSheet.PivotTables("PivotTable4").Clear

    But it gives an error. I also tried Sheets("Dashboard").Range("B32:H100").Clear and received an error

    Someone help?

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Delete Pivot Table Macro

    Please Login or Register  to view this content.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    06-30-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    52

    Re: Delete Pivot Table Macro

    Tried that too problem with that is it deletes the pivot above :/

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Delete Pivot Table Macro

    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. delete raw+pivot table
    By Nicolas6 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-09-2012, 05:07 AM
  2. macro to delete the positive value from pivot table
    By shekar goud in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-12-2008, 01:44 PM
  3. Automatically Delete Pivot Table with Macro?
    By nbaj2k in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-19-2006, 04:25 PM
  4. Macro To Delete Filtered Pivot Table Data
    By Roger in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-01-2006, 12:00 PM
  5. [SOLVED] delete pivot table
    By billq in forum Excel General
    Replies: 3
    Last Post: 01-17-2005, 07:06 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