WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Refresh linked with excel object using VBA

 
   Home -> Office -> General Discussions RSS
Next:  Printing slides in Powerpoint  
Author Message
sweet_dreams

External


Since: Sep 02, 2008
Posts: 2



(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.

Regards,
Sebastian
Back to top
Login to vote
Shyam Pillai

External


Since: Mar 22, 2006
Posts: 257



(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
Back to top
Login to vote
sweet_dreams

External


Since: Sep 02, 2008
Posts: 2



(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?)

It works great. Thanks a lot.

Regards,
Sebastian
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> General Discussions 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
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET