I have a worksheet that has two pivot tables on them. There is a lot of other code in the workbook. I need to add additional code to, upon refresh of the two pivot tables, delete all but two of the blank rows between them. The code that I added to do this, is only deleting one row..... if I keep hitting run it removes them one at a time.
Sub DeleteBlankRows2()
![]()
Please Login or Register to view this content.
Bookmarks