break powerpoint links to excel

almagg

Well-known Member
Joined
Aug 21, 2002
Messages
705
i have a powerpoint template linked to excel.
each month an excel program is run to update the workbook.
at the end i have it open the ppt template which updates the presentation.
then i save it as a regular ppt presentation.
BUT i want to break the links before saving.

thanks
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
got it.
there seemed to be a lot of complicated solutions when i did a web search.
then i just tried the obvious and it worked.


For Each objPPTSld In objPPTApp.ActivePresentation.Slides
For Each objPPTShp In objPPTSld.Shapes
If objPPTShp.Type = msoLinkedOLEObject Then
objPPTShp.LinkFormat.BreakLink
End If
Next objPPTShp
Next objPPTSld
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top