Detect missing fonts in a powerpoint 2007 document

J

Johnson

I try to detect the missing font in a powerpoint 2007 by the following VBA
code:

For Each usedFont In Presentations(1).Fonts
If usedFont.Embedded Then
MsgBox usedFont.Name & ": Embedded"
Else
MsgBox usedFont.Name & ": Not embedded"
End If
Next usedFont

but an exception occurs while executing the code "usedFont.Embedded".

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top