(Msg. 1) Posted: Tue Sep 02, 2008 12:16 pm
Post subject: Refresh linked with excel object using VBA Archived from groups: microsoft>public>powerpoint (more info?)
Dear All,
Recently I stumbled upon such a problem: I have power point
presntation (pp 2000) which contains approxamately 50 slides. On each
slide there are tabels and charts. This objects are linked from excel.
My question is how can I automaticaly refresh these objects so that I
won't have to refresh them manually. I tried to record macro while
refreshing but it seems that PP doesn't generate all code like it's in
Excel or Word.
I would be grateful for any suggestions.
(Msg. 2) Posted: Tue Sep 02, 2008 3:46 pm
Post subject: Re: Refresh linked with excel object using VBA [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
This should do it.
'------------------------------------------------------------
Sub UpdateLinkedObjects()
Dim oShp As Shape
Dim oSld As Slide
For Each oSld In ActivePresentation.Slides
For Each oShp In oSld.Shapes
If oShp.Type = msoLinkedOLEObject Then
oShp.LinkFormat.Update
End If
Next
Next
End Sub
'------------------------------------------------------------
Regards,
Shyam Pillai
"sweet_dreams" <sweet_dreams.TakeThisOut@o2.pl> wrote in message
news:f67da65a-eb4b-47d3-9f9a-5f34bcd62dc8@l42g2000hsc.googlegroups.com...
> Dear All,
>
> Recently I stumbled upon such a problem: I have power point
> presntation (pp 2000) which contains approxamately 50 slides. On each
> slide there are tabels and charts. This objects are linked from excel.
> My question is how can I automaticaly refresh these objects so that I
> won't have to refresh them manually. I tried to record macro while
> refreshing but it seems that PP doesn't generate all code like it's in
> Excel or Word.
> I would be grateful for any suggestions.
>
> Regards,
> Sebastian
(Msg. 3) Posted: Wed Sep 03, 2008 11:19 am
Post subject: Re: Refresh linked with excel object using VBA [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum