+ Reply to Thread
Results 1 to 3 of 3

Resize table to same row count as a piovt table

  1. #1
    Registered User
    Join Date
    10-24-2011
    Location
    SA, Australia
    MS-Off Ver
    Excel 2010
    Posts
    15

    Resize table to same row count as a piovt table

    Hi all

    My first post.
    I have searched and tried a few things but cannot seem to resolve my problem.

    I have a piivot table and a Table on the same worksheet. The table uses vlookup and some calculations using the left column on the pivot table to vlookup data in another spreadsheet.

    That all works fine. My problem is I would like the table to grow and shrink its row numbers to the same count as the pivot table.

    Heres what I tried so far:
    Please Login or Register  to view this content.
    )

    The count of pivot rows works but the table doesnt re-size.
    The sheet is named NextCEVPdue, the table is named Table7 and the pivot table pivtottable2. The table has 4 columns and the the header lines up with the top row of the pivot table (row 4)

    Any help or advice please.

    Regards
    DeeJay

  2. #2
    Valued Forum Contributor
    Join Date
    08-26-2006
    Location
    -
    MS-Off Ver
    2010
    Posts
    388

    Re: Resize table to same row count as a piovt table

    Try changing the third line of your code to this:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-24-2011
    Location
    SA, Australia
    MS-Off Ver
    Excel 2010
    Posts
    15

    Thumbs up Re: Resize table to same row count as a piovt table

    Hi T-J

    My apologies - I didnt reply sooner. Your correction to my code worked perfectly, and I have since used it in other sheets as well.

    many thanks


    DeeJay

+ 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] Add scroll bar to piovt table - to select visible data
    By masben in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 04-25-2013, 09:44 AM
  2. Consolidation Piovt table
    By rojan_k in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-25-2013, 08:17 AM
  3. Add row to end of table and resize table automatically
    By cdthimann in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2013, 03:30 AM
  4. Creating Piovt table on Protected Worksheet
    By betty0777 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-05-2007, 02:43 PM
  5. [SOLVED] Piovt Table-Drill Down Numbers lose Currency Format
    By Jugglertwo in forum Excel General
    Replies: 0
    Last Post: 08-08-2006, 10:40 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