Jump to content

Recommended Posts

Posted

Hi all,

 

Do you know of a way to set the default font & size in Excel and word 2010 ?

 

All users have roaming profiles so need a way of putting in in all profiles I think?

 

I have the adm templates for group policy but cant see anywhere to set this ?

 

as always help much appreciated

Many thanks

Posted

here is the subroutine for it.

 

Sub ChangeFont()
   With ActiveDocument.Styles("Normal").Font
       .Name = "Arial"
       .Size = 10.5
       .Bold = False
       .Italic = False
       .Underline = wdUnderlineNone
       .UnderlineColor = wdColorAutomatic
       .StrikeThrough = False
       .DoubleStrikeThrough = False
       .Outline = False
       .Emboss = False
       .Shadow = False
       .Hidden = False
       .SmallCaps = False
       .AllCaps = False
       .Color = wdColorAutomatic
       .Engrave = False
       .Superscript = False
       .Subscript = False
       .Scaling = 100
       .Kerning = 0
       .Animation = wdAnimationNone
   End With
   With ActiveDocument.Styles("Normal")
       .AutomaticallyUpdate = False
       .BaseStyle = ""
       .NextParagraphStyle = "Normal"
   End With
End Sub

  • 2 weeks later...
  • 1 month later...
Posted
here is the subroutine for it.

 

Sub ChangeFont()
   With ActiveDocument.Styles("Normal").Font
       .Name = "Arial"
       .Size = 10.5
       .Bold = False
       .Italic = False
       .Underline = wdUnderlineNone
       .UnderlineColor = wdColorAutomatic
       .StrikeThrough = False
       .DoubleStrikeThrough = False
       .Outline = False
       .Emboss = False
       .Shadow = False
       .Hidden = False
       .SmallCaps = False
       .AllCaps = False
       .Color = wdColorAutomatic
       .Engrave = False
       .Superscript = False
       .Subscript = False
       .Scaling = 100
       .Kerning = 0
       .Animation = wdAnimationNone
   End With
   With ActiveDocument.Styles("Normal")
       .AutomaticallyUpdate = False
       .BaseStyle = ""
       .NextParagraphStyle = "Normal"
   End With
End Sub

 

how do you apply this? thank you

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...