+ Reply to Thread
Results 1 to 3 of 3

Hide rows between 2 pivot tables if they are empty

  1. #1
    Forum Contributor
    Join Date
    06-30-2006
    Posts
    116

    Hide rows between 2 pivot tables if they are empty

    Hello everyone,

    I have 2 pivot tables: The first one starts in cell B12 and the second one starts in cell B30. If the page field selections are set to "ALL" in both tables there would be 4 rows between the first and second table. I have a form that allows the user to make a selection that would trigger the selections in both Pivot table. Whatever the selection is (except the "ALL" selection) the number of rows would increase (sometimes 8,10,15..it depends). Is it possible to write a macro that will conduct the number of empty rows between the 2 tables and hide them?? I can probably embed the code with the code behind the button that triggers both tables. Any ideas would be greatly appreciated.

    Thank you
    Richard

  2. #2
    Forum Contributor
    Join Date
    01-24-2007
    Location
    Southampton, UK
    Posts
    137
    Suggest adding the following short code somwhere in your existing macro....

    Please Login or Register  to view this content.
    This assumes the 4 empty rows between the tables are rows 26,27,28, & 29 and tht these remain blank.

  3. #3
    Forum Contributor
    Join Date
    06-30-2006
    Posts
    116
    Thank you That helps

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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