+ Reply to Thread
Results 1 to 4 of 4

Resizing table after data is pulled in

  1. #1
    Registered User
    Join Date
    07-24-2018
    Location
    California
    MS-Off Ver
    10
    Posts
    56

    Smile Resizing table after data is pulled in

    Hello all!

    I have a macro that pulls data from one table into another. I am using =sum for one column so when there are blank rows the calculated column returns #N/A which then does not allow the =sum function to work. I have included pictures for what I mean because when a larger data set is pulled in, the table resizes itself to be bigger but never to be smaller

    But I was wondering what I should add to my code to resize the table after the data is pulled in?

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by sy898661; 06-14-2019 at 11:02 AM.
    Thank you!!!

  2. #2
    Registered User
    Join Date
    10-17-2013
    Location
    Ardooie
    MS-Off Ver
    Excel 2007
    Posts
    67

    Re: Resizing table after data is pulled in

    To resize to Autofit this can be added:

    Please Login or Register  to view this content.
    I picked F but you can adapt to necessary column(s)

  3. #3
    Registered User
    Join Date
    07-24-2018
    Location
    California
    MS-Off Ver
    10
    Posts
    56

    Re: Resizing table after data is pulled in

    Oh, so easy!!! Thank you so much!

  4. #4
    Registered User
    Join Date
    07-24-2018
    Location
    California
    MS-Off Ver
    10
    Posts
    56

    Re: Resizing table after data is pulled in

    Wait, actually when I plugged this in, it autofit the column width instead of the table length

+ 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] Pivot table data pulled collected together need to expand
    By motorhomer in forum Excel Charting & Pivots
    Replies: 14
    Last Post: 04-10-2018, 06:02 AM
  2. Randomized List Pulled from Filtered Table
    By Djd96 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-27-2017, 07:56 PM
  3. Replies: 3
    Last Post: 03-26-2017, 03:24 PM
  4. Replies: 10
    Last Post: 10-09-2014, 06:20 PM
  5. Persistent autofill data when resizing table
    By ormerods in forum Excel General
    Replies: 4
    Last Post: 03-04-2014, 06:14 AM
  6. Replies: 0
    Last Post: 03-01-2014, 08:28 AM
  7. [SOLVED] INDEX MATCH a table of X's pulled from another sheet.
    By purdue7997 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-30-2013, 10:29 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