When I create a Macro letterhead in Office Word XP, I cannot get the macro to remember the font size that I chose. It runs the Macro in the default size.
Documents.Add DocumentType:=wdNewBlankDocument
Selection.Font.Bold = wdToggle
Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
Selection.TypeText Text:="PRESTIGE TECH CO."
Selection.TypeParagraph
Selection.TypeText Text:="5300 West Atlantic Ave. #412"
Selection.TypeParagraph
End Sub
Sub LetterHead()
'
' LetterHead Macro
' Macro recorded 10/15/2002 by Hugh Henley
'
Selection.Font.Bold = wdToggle
Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
Selection.TypeText Text:="THIS IS MY LETTERHEAD"
Selection.TypeParagraph
End Sub
This is the Macro. I started by selecting font size 22 in the pull down box.It macros out in the default of size 12.
Thank you for that suggestion, but why do I have this problem with Word XP? There must be a setting turned off, because I have the same problem on the same program running on another computer,Never had the problem with Office 97.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.