Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Klaus Linke Klaus Linke is offline
external usenet poster
 
Posts: 413
Default Unreadable font

"vavtwo" wrote:
Hello- I received a Word Macro Enabled Documnet in font Trebuchet. I can
not
read the document and when I highlight the document and select Arial - the
document changes to blocks no letters. Any suggestions?



Hi,

It's a problem that is sometimes caused by the text having been assigned a
symbol font accidentally (by Word or by the user).

There's a macro by Microsoft in the KnowledgeBase somewhere that repairs the
text, but I can't find it at the moment.
The macro below will fix it too (... I tried it on your text, and it starts
with "MARCH FOR BABIES").

If you don't know how to run macros, see
http://word.mvps.org/faqs/macrosvba/CreateAMacro.htm

Regards,
Klaus


Sub FixTextAccidentallyUsingDecorativeFonts()
' Should fix text that has been accidentally formatted
' in a decorative font, and change it to "Arial"
Dim myRange As Range
Dim myStoryRange As Range
For Each myStoryRange In ActiveDocument.StoryRanges
Set myRange = myStoryRange.Duplicate
Do
With myRange.Find
.ClearFormatting
.Text = "[" & ChrW(&HF000) & "-" & ChrW(&HF0FF) & "]"
.Forward = True
.Wrap = wdFindContinue
.MatchWildcards = True
If .Execute Then
With myRange.Find
.Text = "^u" & Trim(STR(AscW(myRange.Text) And &HFFFF&))
.Replacement.Text = ChrW(AscW(myRange.Text) - &HF000)
.Replacement.Font.Name = "Arial"
.Forward = True
.Wrap = wdFindContinue
.MatchWildcards = False
End With
myRange.Find.Execute Replace:=wdReplaceAll
Else
Exit Do
End If
End With
Loop
Next myStoryRange
End Sub

 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reviewing pane unreadable (tiny font) Shannon Jacobs New Users 4 February 12th 09 03:18 PM
Unreadable tables DBDAZE Tables 0 October 9th 08 04:50 PM
Received .doc file. Opens in unreadable font. How to read. cjm563 Microsoft Word Help 6 October 25th 06 06:47 AM
Unreadable text Ute Microsoft Word Help 1 June 19th 06 02:47 AM
unreadable attachment karen Microsoft Word Help 5 January 21st 06 07:38 PM


All times are GMT +1. The time now is 03:22 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"