View Single Post
 
Old 11-12-2021, 05:03 PM
kae0088 kae0088 is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: May 2012
Location: Melbourne, Australia
Posts: 20
kae0088 is on a distinguished road
Default

Hi scienceguy


If you execute:
then the font name will change from "Calibri (Body)" to "Calibri"




There is an interaction with Office Find & Replace (CTRL+H).
If you execute:
Code:
Sub SetFontName()
 Selection.Find.ClearFormatting
 Selection.Find.Font.Name = "Calibri"
 Selection.Find.Execute
End Sub
then it doesn't find text with "Calibri (Body)"but F&R now has under "Find what:" the Format font "(Default) Calibri". F&R will now find "Calibri" but not "Calibri (Body".


It all doesn't help me with my task.
Reply With Quote