You are here:

Excel/Macro for font name , size,color,bold,align


QUESTION: I need a macro from range C6:c12 and C24:c30 that contains " Font name: Times New Roman , Size 10, always Bold, Color Blue, and align always to the left . Thank you  


ANSWER: Sounds like an easy one to record. Why not try that first?

---------- FOLLOW-UP ----------

QUESTION: I'm coping data from another workbook and I don't want to reformatted every time after copy and paste is done.

Sub Answer()
   Range("C6:C12,C24:C30").FormulaR1C1 = "Font name: Times New Roman"
   With Range("C6:C12,C24:C30").Font
       .Name = "Times New Roman"
       .Size = 10
       .Strikethrough = False
       .Superscript = False
       .Subscript = False
       .OutlineFont = False
       .Shadow = False
       .Underline = xlUnderlineStyleNone
       .ThemeColor = xlThemeColorLight1
       .TintAndShade = 0
       .ThemeFont = xlThemeFontNone
   End With
   With Range("C6:C12,C24:C30").Font
       .Color = -65536
       .Bold = True
       .TintAndShade = 0
   End With
   With Range("C6:C12,C24:C30")
       .HorizontalAlignment = xlLeft
   End With
End Sub

About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here


All Answers

Answers by Expert:

Ask Experts


Bob Umlas


I`m a Microsoft Excel MVP (Most Valuable Professional) and have been since the inception of the program in 1995. I can answer every kind of Excel question except: API, Importing/exporting to other programs (powerpoint, word,...) Also check out my in-person training link at


Worked with MS Excel since version 0.99 (on the Mac!). Was contributing editor to Excellence Magazine, having written >300 articles. John Walkenbach said of me "I finally met someone who knows as much about Excel as I do."

Excellence, The Expert, Microsoft

BA in math, Hofstra University, 1965

Awards and Honors
Led sessions for the Convergence 2004-2006 seminar on Excel tips & tricks

©2017 All rights reserved.