Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-19-2013, 05:08 PM
rtwwpad rtwwpad is offline Change single character in PPT to another font macro Windows 7 64bit Change single character in PPT to another font macro Office 2010 64bit
Novice
Change single character in PPT to another font macro
 
Join Date: Jan 2013
Posts: 2
rtwwpad is on a distinguished road
Default answered by shg over on mr excel

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
Reply With Quote
 

Tags
font, formatting



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word macro doesn't change font color Spideriffic Word VBA 8 11-04-2015 03:47 AM
Change single character in PPT to another font macro How to change the color of Character Border? tinfanide Word 4 10-27-2012 06:35 AM
Change single character in PPT to another font macro Make Font Dropdown Change All Styles' Font trevorhiller Word 1 04-14-2012 02:14 AM
Change single character in PPT to another font macro Deterimine if a character is supported by a font 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

Other Forums: Access Forums

All times are GMT -7. The time now is 11:21 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft