Consulting

Results 1 to 2 of 2

Thread: Solved: Change Default Font for New Workbook

  1. #1

    Solved: Change Default Font for New Workbook

    I am creating a new workbook.
    [vba]
    Set wb = Workbooks.Add[/vba]

    I want all of the fonts for all of the sheets for the new workbook will be Calibri with size ten.

    Is there a way to make this the default for the new workbook without having to do it sheet by sheet?

    thanks,

    M

  2. #2
    VBAX Expert Tinbendr's Avatar
    Joined
    Jun 2005
    Location
    North Central Mississippi (The Pines)
    Posts
    993
    Location
    [vba]Dim WB As Workbook
    Set WB = Workbooks.Add
    With WB
    With .Styles("Normal")
    .Font.Name = "Calibri"
    .Font.Size = "10"
    End With
    End With
    [/vba]

    HTH,
    David

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •