+ Reply to Thread
Results 1 to 4 of 4

Auto update chart range

  1. #1
    Forum Contributor
    Join Date
    10-21-2012
    Location
    Ind
    MS-Off Ver
    Excel 2010
    Posts
    110

    Post Auto update chart range

    Hi,

    Plz find attached worksheet for reference. I need to macro which update chart range automatically. I do have code which populate data in chart range but each time i have to drag chart range manually. macro should drag this range automatically. For each time macro must update 5 rows range. i do not want chart from starting rage.

    plz suggest me some code on it.

    ty
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Auto update chart range

    Hi akulka58,

    Try using defined names for range. See the attached file and press ctrl + F3 to see the defined names and their logics. thanks.
    New Microsoft Office Excel Worksheet(1).xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Contributor
    Join Date
    10-21-2012
    Location
    Ind
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: Auto update chart range

    Thanks dilip, but formula taking range from starting. i need only 5 rows from bottom. plz suggest if you have any idea.

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Auto update chart range

    ok.. use the below logic in defined name:-

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See the revised attachment:- New Microsoft Office Excel Worksheet(1).xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this 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