+ Reply to Thread
Results 1 to 2 of 2

Delete blank/empty rows between two pivot tables

  1. #1
    Registered User
    Join Date
    08-07-2014
    Location
    Netherlands
    MS-Off Ver
    Office professional 2010
    Posts
    10

    Delete blank/empty rows between two pivot tables

    I created two pivot tables and next to them two pivot charts.

    Of course the pivot tables show up with different lenghts when the underlying data changes. Therefore I left a lot of blank rows between the two pivottables.
    To delete the empty rows I use a macro :
    Range("A:A").SpecialCells(xlCellTypeBlanks).EntireRow.Delete

    Problem is....there is no empty row between the two pivottables left

    Now i am looking for a way to add a blank row after the first pivot table, or to find a method to set the position of the second pivottabel and chart relative to the end of the first pivot table

    EDIT:I found that I cannot save macro's in this particular case so I moved my question to another sub of this forum
    Last edited by curious4; 07-04-2018 at 07:41 AM.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Delete blank/empty rows between two pivot tables

    You would probably get a better response if you attach a sample workbook with the issue already set up. Also, I would recommend hiding rather than deleting the rows to allow for the pivot tables to re-expand.

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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. [SOLVED] Dealing with blank rows in pivot tables
    By Trebor777 in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 11-30-2016, 11:19 AM
  2. [SOLVED] DELETE empty rows, from two tables?
    By B.W.B. in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-02-2016, 11:29 AM
  3. [SOLVED] Delete empty/blank rows
    By soranz in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-14-2015, 01:16 PM
  4. [SOLVED] Delete Rows after finding first Empty/Blank
    By ptmuldoon in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-01-2014, 11:15 AM
  5. Hide rows between 2 pivot tables if they are empty
    By Richard Flame in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-30-2007, 02:07 PM
  6. Pivot Tables - Leaving out blank rows
    By Lewis Clark in forum Excel General
    Replies: 4
    Last Post: 06-26-2006, 12:10 PM
  7. Replies: 2
    Last Post: 04-08-2005, 02: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