Hi Steve,
I must have done both (from the regular grid and from recently used), over
the years. But not one character is found.
Eh, to tell the truth: I made a source presentation with often used
'characters' (arrows, smilies etc.) and copy them from there into the
working presentation.
In File-Save As-Tools-Options the check for 'Embed TrueType fonts' is on
with the option 'Embed characters in use only'. Keystrokes MT seems to be a
restricted font.
Even more confusing: Format-Replace Fonts ... indicated that fonts
- Arial Unicode MS - Arial
- Courier New - Desdemona
- Keystrokes MT - Wingdings (and W2 and W3)
- Marlett - Matura MT Script Capitals
- Monotype Sorts - Symbol
- Times New Roman - Typographic Ext
are in use. My code (below) only finds Matura ...
I already created a parallel macro to check the notespages.
Your attention is appreciated highly!
If you are interested: the ugly presentation is on
www.fhvzelm.com -
[Presentations] - [The files] and there Access.ppt.
It has some 1500 slides so you can imagine, I'm happy to clean this mess
manually.
Frans
=================
Sub FontsUsedOnSlide()
Dim mySlide As Slide
Dim myShape As Shape
Dim myTellerSlides As Integer
Dim myTellerShapes As Integer
Dim myTellerCharacters As Integer
On Error Resume Next
For Each mySlide In ActivePresentation.Slides
myTellerSlides = myTellerSlides + 1
For Each myShape In mySlide.Shapes
myTellerShapes = myTellerShapes + 1
' If myShape.Type = msoPlaceholder Then
For myTellerCharacters = 1 To
myShape.TextFrame.TextRange.Characters.Count
With
myShape.TextFrame.TextRange.Characters(myTellerCharacters).Font
If .Name <> "Times New Roman" And .Name <> "Arial" Then
Debug.Print myTellerSlides & " - " & myTellerShapes & " - " &
myTellerCharacters & " - " & .Name
' ActivePresentation.Slides(myTellerSlides).Select
End If
End With
Next
' End If
Next
myTellerShapes = 0
Next
End Sub
=========================
Steve Rindsberg said:
But ... (sorry), it is getting complex:
- Keystrokes MT and Almanac MT are found by your code if typed after
change
of font (Format-Font, choose font, [OK] and 'type').
- Keystrokes MT and Almanac MT are not found when inserted as symbol
(Insert-Symbol, choose font, charachter and [Insert]).
Are you choosing the character from the list of recently used characters
at the
bottom of the Insert Symbol dialog box? PPT may be inserting symbols from
a
different font in that case, and there can be other odd side effects.
Is Keystrokes MT embeddable? Saving the presentation with fonts embedded
might
solve your problem.
- other fonts are found after inserting either way, even Brush Script MT.
- and all fonts, either way, are found by Format-Replace Fonts so ... PPt
itself does the trick but without any user control.
And, as you will guess, I used Insert-Symbols-Keystrokes MT ;-(. Many
times
in huge presentations (> 1000 slides).
And this font prevents using these presentations on 'other' computers.
By the way: it is PowerPoint 2003.
Frans van Zelm
==============================
PPT Frequently Asked Questions
http://www.pptfaq.com/
PPTools add-ins for PowerPoint
http://www.pptools.com/
Don't Miss the PPTLive User Conference! Atlanta | Oct 11-14