Results 1 to 6 of 6

Thread: Solved: Graphs to update

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,446
    Location
    But chart does

    [vba]

    ActiveSheet.ChartObjects("Chart 1").Chart.Refresh
    [/vba]
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  2. #2
    VBAX Mentor asingh's Avatar
    Joined
    Jul 2005
    Posts
    307
    Location
    Quote Originally Posted by xld
    But chart does

    [vba]

    ActiveSheet.ChartObjects("Chart 1").Chart.Refresh
    [/vba]
    I am sure this will work..but is there any way that all the charts on the active sheet get refreshed...without having to hard code in "Chart 1". Or it dynamically loops through all charts found on a sheet.

    Else I will create a loop and cycle through each chart........!!!!

    thanks,

    asingh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •