+ Reply to Thread
Results 1 to 3 of 3

Automatically resizing charts to align with the last row

  1. #1
    Registered User
    Join Date
    02-09-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2007
    Posts
    19

    Automatically resizing charts to align with the last row

    I have a macro that filters data and then copies it to a new sheet featuring charts (the number of rows of data changes with each loop). This is then published as a pdf. Is there a way to set one of the charts to automatically resize so that the bottom of it is aligned with the last row of data?

    Thank you
    Last edited by brzpptp2; 02-09-2010 at 11:39 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Automatically resizing charts to align with the last row

    Something like this perhaps.

    Please Login or Register  to view this content.
    Assumes data in column A and positions first chartobject
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    02-09-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Automatically resizing charts to align with the last row

    That's brilliant. Exactly what I was looking for. Thanks a lot!

+ 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