Results 1 to 4 of 4

Animated line chart

Threaded View

  1. #1
    Registered User
    Join Date
    08-27-2011
    Location
    Finland
    MS-Off Ver
    Excel 2003
    Posts
    4

    Animated line chart

    Hello!

    I want an animated line chart. The chart area must stay as it is in the beginning of the animation so only thing that changes in the animation would be the actual line.

    This is what I came up with:

    4iQIP.png

    I have the values in B2:B1001. The chart now takes its data from A2:A1001.
    I wrote a script that copies values from Bx to Ax one by one.

    Sub Macro3()
        Dim i As Long
        For i = 2 To 1001
            Cells(i, 1).Value = Cells(i, 2).Value
            Application.Wait (Now + 0.000002)
        Next i
    End Sub
    It works if the number of rows is small enough and the waiting time is big enough. Otherwise it will crash.

    How do I make this in the right way and animation work smoothly?
    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. Animated line chart
    By lovethepirk in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-12-2013, 06:01 AM
  2. Animated images on a chart
    By j_Southern in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-27-2012, 10:44 AM
  3. Animated images on a chart
    By j_Southern in forum Excel General
    Replies: 0
    Last Post: 01-27-2012, 10:44 AM
  4. Animated XY Chart?
    By Cam in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 07-06-2011, 05:48 AM
  5. Animated Excel chart.....
    By Cam in forum Excel General
    Replies: 8
    Last Post: 03-29-2011, 02:45 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