+ Reply to Thread
Results 1 to 6 of 6

Update multiple graphs in PPoint

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-27-2010
    Location
    Lisbon, Portugal
    MS-Off Ver
    Excel 2007
    Posts
    115

    Update multiple graphs in PPoint

    Hi there,

    I have a excel wbook with several graphs that i exported to PPoint.
    I know how to update the graphs data in PPoint one by one.

    Is there any way to updtade all of the graphs at the same time?

    I have this code i'm using to do the exact same thing in excel, but i never used VBA code in PP.

    Sub Rectânguloarredondado14_Clique()
    desproteger
    Dim iP As Integer
    Application.DisplayAlerts = False
    For iP = 1 To ActiveSheet.PivotTables.Count
    ActiveSheet.PivotTables(iP).RefreshTable
    Next
    Application.DisplayAlerts = True
    proteger
    End Sub
    Can anyone help, please? Thanks
    Last edited by ncaravela; 10-06-2010 at 08:21 AM.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Update multiple graphs in PPoint

    Hi ncaravela,
    you can record macros in PP just like excel - if you record a macro it should give you the basic synatx to work with
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Update multiple graphs in PPoint

    pike, with the abysmal job the macro recorder does in Excel 2007, I sincerely hope it is more helpful in Powerpoint. I have never tried it, but, hey! you never know!

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Update multiple graphs in PPoint

    ops thanks teylyn there is no macro recorder in pp .

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482

    Re: Update multiple graphs in PPoint

    Unfortunately the macro recorder was dropped in ppt2007.

    @ncaravela, are the chart in PPT charts, images, pivot charts or msgraph objects.

    maybe post an example of the powerpoint file.
    Cheers
    Andy
    www.andypope.info

  6. #6
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Update multiple graphs in PPoint

    possibly ....
    For iP = 1 To ActiveDocument.Slide.Count
    with ActiveDocument.Slide(iP)   
     If .HasChart Then
            .Chart.Refresh
        End If
    end with
    Next

+ 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