Setting Font Problem?

Setting Font Problem?

Post by Ben » Sat, 09 Dec 2006 01:58:24


I'm using the below script in a logon script to auto create users
signatures, on 99% of users it's working correctly, however on one, the
signature is being created using the 'Times New Roman' (TNR) font, rather
than the specified 'Arial' font. I've done some testing, and changed the
specified font in the script to something like 'Comic Sans' and it works
fine, even changing it to 'Arial Narrow' works fine, however, the moment I
set it back to 'Arial' this one users signature defaults to 'TNR'. I though
it might be a corrupt font, but I can highlight the signature after it's
created in outlook, and change the font to Arial and it works, outlook
actually defaults to 'Arial' when you create a new email, but the signature
is still in 'TNR'. I've also checked the 'Fonts' specified under the 'Mail
Format' tab, but that is set correctly to 'Arial', word's default font is
'Arial' I've checked the and templates just in case
something was specifying 'TNR' in there, but all are 'Arial'.

Can anyone think of a reason why this strange behaviour would be happening?

Any help, much appreciated.


Set objWord = GetObject(, "Word.Application")
If objWord Is Nothing Then
Set objWord = CreateObject("Word.Application")
blnWeOpenedWord = True
End If
Set objDoc = objWord.Documents.Add()
Set objSelection = objWord.Selection

Set objEmailOptions = objWord.EmailOptions
Set objSignatureObjects = objWord.EmailOptions.EmailSignature

Set objSignatureEntries = objSignatureObjects.EmailSignatureEntries

objSelection.Font.Name = "Arial"
objSelection.Font.Size = "10"

1. Setting font problem

2. two sets of fonts- Windows FONTS folder and Broderbund _____ Font

My new Toshiba laptop, am cleaning the what, the junk outta it. Somehow my
old GTWY desktop had like 500 fonts and was slowing the machine, finally
removed 125 or so and its OK.
The Toshiba has TWO separate directorys chock full of fonts, most of them
duplicates! Each has its own directory with a slightly diff name.
I read elsewhere in the MS area today that all the necessary fonts for
Windows number only about 15. However have read it implied elsewhere that
other programs if they call for a font that is NOT in that 15 they will not
respond or locckup???
Am sure I dont need all dose fonts....


3. Urgent problem with font sizes in latex: signature page fonts, chapter page chapter name font

4. font problem / multiple fonts in one textfield / library fonts

5. Modify Font on Link Bar Buttons Set default Font for entire Si

6. Best Fonts for Entourage's Fonts Preferences Settings?

7. set wordpad's default font and font size

8. How do I set editing fonts different than default fonts?

9. windows setting (screen pixels/font) impact on application's fonts

10. Set default font to System font (was: Creating Vista Ready Applications)

11. What "Preferences" Font Setting Determines the "Datatips" Font?

12. Bold font set at system font

13. set the font type,font size automatically when start up?

14. Example: How to make flash fonts resize according to browser font settings on the fly