Results 1 to 27 of 27

Auto expand table based on amount of rows of data provided

Threaded View

  1. #25
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Auto expand table based on amount of rows of data provided

    Further to Q2:
    The attached new version has a Total column for each month in the template and the macro now copies the formulas of the first row to all the cells in
    columns 1 - 84 (see code snippet below).
    'Copy the formulas from the first row throughout all Account/Period columns and rows
    Range("PQ" & CostCenter & "[[Column1]:[Column84]]").Resize(1).Copy
    Range("PQ" & CostCenter & "[[Column1]:[Column84]]").PasteSpecial
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Expanding Rows Based on the Value provided
    By sathishkm in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-01-2018, 02:05 PM
  2. Auto expand data based on column D (google excel)
    By Ditch1983 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 03-17-2016, 06:25 AM
  3. Replies: 1
    Last Post: 05-06-2014, 01:21 PM
  4. Auto Collapse/Expand a Date Pivot table based on current date
    By Dave27 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-03-2013, 12:24 PM
  5. Replies: 6
    Last Post: 10-04-2012, 11:12 AM
  6. Auto Expand Table based on Range of Date stated
    By forest06 in forum Excel General
    Replies: 0
    Last Post: 06-27-2012, 01:28 PM
  7. [SOLVED] auto expand rows
    By cbrenizer@gmail.com in forum Excel General
    Replies: 3
    Last Post: 12-14-2005, 03:50 AM

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