![]() |
|
#1
|
|||
|
|||
![]()
Hi All, can anyone help?
I have a PowerPoint document with a number of linked Excel files. How can I tell which links belong to which slide? Many thanks. |
#2
|
|||
|
|||
![]()
As you may know you can see and edit the links by going to File > Info > Edit Links (right pane)
This won't tell you which slide the links are on though. I think code is the only way to get that. Here's an example Sub list_links() Dim oshp As Shape Dim osld As Slide Dim strReport As String For Each osld In ActivePresentation.Slides For Each oshp In osld.Shapes If oshp.Type = msoLinkedOLEObject Then If InStr(oshp.OLEFormat.ProgID, "Excel") > 0 Then strReport = strReport & "On Slide " & osld.SlideIndex & _ "> Link = " & oshp.LinkFormat.SourceFullName & vbCrLf End If End If Next oshp: Next osld If strReport <> "" Then MsgBox strReport Else MsgBox "No Excel links" End If End Sub Dont know how to use this? Go Here! |
#3
|
|||
|
|||
![]()
Thanks for your reply - I will try the code.
|
#4
|
|||
|
|||
![]()
You are amazing! The code is perfect!
|
#5
|
|||
|
|||
![]()
Glad it worked for you!
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
oshkosh | PowerPoint | 3 | 04-05-2016 06:10 AM |
PowerPoint removes urlencoding on links | kamcknig | PowerPoint | 0 | 08-10-2011 08:50 AM |
saving a mail merged document after the user edits it. | kosh2 | Mail Merge | 0 | 08-05-2011 03:35 AM |
Powerpoint 2010 losing links to excel | Hans_b | PowerPoint | 0 | 07-12-2011 04:19 AM |
![]() |
agios59 | PowerPoint | 1 | 11-16-2010 08:58 AM |