+ Reply to Thread
Results 1 to 2 of 2

Animated charts

  1. #1
    Registered User
    Join Date
    07-02-2019
    Location
    Chile
    MS-Off Ver
    office 365
    Posts
    1

    Animated charts

    Hi,

    I have my data with a total. The total depends on the amount of data considered. I want to present a chart evolution, with one data, then with the total of two data, then 3...

    I already manage to change the total calculation in this way with a macro, but my chart does not change with the table, but only after the macro ends.

    Could someone give me some ideas please, I'm new to VBA, I added some delay and refresh to the loop but it didn't help.

    Rgds,

    Carlos.


    My data:

    A B C D E F G
    1 item 5
    2
    3 id 1 2 3 4 5 total
    4 a 1 3 2 0 0 6
    5 b 0 3 0 0 3 6
    6 c 1 1 2 0 2 6
    7 d 0 3 1 2 2 8
    8 e 1 1 2 1 3 8


    the total formula in G4:

    =SUM(OFFSET(B4;0;0;1;MATCH($B$1;$B$3:$F$3;0)))


    The chart is clustered bar with series "id" and "total"

    the macro:
    Please Login or Register  to view this content.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Animated charts

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. As you are new here I have done it for you this time.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. i need help in excel vba making animated charts
    By stolba in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-30-2016, 02:45 PM
  2. Animated gif's
    By bogey69 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-28-2014, 07:06 PM
  3. [SOLVED] export excel charts for animated gif
    By parkesarah in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-12-2006, 11:55 AM
  4. [SOLVED] Animated GIF
    By Greg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-13-2006, 05:20 AM
  5. [SOLVED] Animated charts
    By unique in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 12-03-2005, 09:50 PM
  6. Animated bar Charts
    By gsimmons2005 in forum Excel General
    Replies: 1
    Last Post: 11-04-2005, 05:25 AM
  7. [SOLVED] Animated .gif
    By Brad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2005, 01:05 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