![]() |
#2
|
|||
|
|||
![]()
Sub x()
Dim oSld As Slide Dim oShp As Shape Dim rTxt As TextRange Dim rFind As TextRange For Each oSld In ActivePresentation.Slides For Each oShp In oSld.Shapes If oShp.HasTextFrame Then Set rTxt = oShp.TextFrame.TextRange Set rFind = rTxt.Find(FindWhat:="?") Do While Not rFind Is Nothing With rFind .Font.Name = "Dotum" Set rFind = rTxt.Find(FindWhat:="?", _ After:=.Start + .Length - 1) End With Loop End If Next Next End Sub |
Tags |
font, formatting |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word macro doesn't change font color | Spideriffic | Word VBA | 8 | 11-04-2015 03:47 AM |
![]() |
tinfanide | Word | 4 | 10-27-2012 06:35 AM |
![]() |
trevorhiller | Word | 1 | 04-14-2012 02:14 AM |
![]() |
moishy | Word VBA | 2 | 02-27-2012 02:53 AM |
Change the leading of a character style??? | Char t | Word | 1 | 11-05-2011 01:18 PM |