PowerPoint: Remove Embedded Fonts

NeoMoses

New Member
Joined
Jun 17, 2002
Messages
38
Apparently MS powerpoint 2003 has a new 'feature' that doesn't allow editing of presentations with certain embedded fonts. The official Microsoft fix is: Open the presentation in a previous version of PowerPoint, remove the embedded fonts that are protected, and re-save without them. Myself and a couple co-workers got screwed by this 'feature' recently, so I decided to automate the embedded font removal process in a little macro for powerpoint. Use it if you like.

Code:
Sub RemoveFont()
'
' Macro written 6/15/2005 by Bryan K. Pryor
' Removes embedded fonts from MS Powerpoint files and saves as new file name.
'
Dim myFile As String
Dim oldName As String
Dim newName As String

oldName = "c:\convert\"
newName = "c:\converted\"
myFile = Dir("c:\convert\*.ppt")
    Do Until myFile = ""
        Presentations.Open FileName:=oldName & myFile, ReadOnly:=msoFalse
        ActivePresentation.SaveAs FileName:=newName & "noEmbed_" & myFile, FileFormat:=ppSaveAsPresentation, EmbedTrueTypeFonts:=msoFalse
        ActiveWindow.Close
    myFile = Dir
    Loop
End Sub
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,223,629
Messages
6,173,441
Members
452,515
Latest member
marinacalus

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