Results 1 to 2 of 2

Slide show with update of data once a day

Threaded View

  1. #1
    Registered User
    Join Date
    03-03-2005
    Posts
    2

    Slide show with update of data once a day

    Hi
    I want to make a macro that one time a day updates my excel with new data and continuously cycles through my charts.
    Its to be used for a presentation on a big screen where people occasionally will have meetings going through the charts.

    I have used the ontime function so the users can maneuver through the charts event though the macro is still running.

    My only problem is that i cant get my charts to keep looping.
    I use the ActiveChart.Next.Select so when it comes to the last chart the macro stops.

    How can i make the code keep looping through the charts?



    Sub refresh()
    
    
    dTime = Now + TimeValue("00:01:00")
    dTime2 = TimeValue("18:00:00")
     
    Application.OnTime dTime, "refresh"
    Application.OnTime dTime2, "update"
    
    ActiveChart.Next.Select
    
    End Sub
    
    
    Sub Killitall()
    
    Application.OnTime dTime, "refresh", , False
    Application.OnTime dTime2, "refresh", , False
    
    
    
    End Sub
    
    
    Sub update()
    
    If Run("sapbex.xla!SAPBEXrefresh", True) = 1 Then
    Else
    End If
    
    End Sub
    Last edited by Chil24; 03-28-2010 at 01:22 PM.

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