Sorry xlbo, I didn't past the code.. Here it is!
Sub FormatWSs()
Dim sht As Worksheet
Application.ScreenUpdating = False
For Each sht In ThisWorkbook.Worksheets
Select Case sht.Name
Case "summary", "ePortfolio_IDAs", "E255", "ePortfolio_STMs"
Cells.Select
With Selection.Font
.Name = "Arial"
.FontStyle = "Bold"
.Size = 8
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
End With
Columns("A").Select
Selection.ColumnWidth = 15
Columns("B:AQ").Select
Selection.ColumnWidth = 20
Rows("1:4").Select
Selection.RowHeight = 15
Selection.Font.Bold = True
Rows("3:4").Select
With Selection
.HorizontalAlignment = xlLeft
.VerticalAlignment = xlTop
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Rows("5:16").Select
Selection.RowHeight = 55
Case Else
Cells.Select
'formatting code goes here
Range("A3").Select
ActiveCell.FormulaR1C1 = "=NOW()"
Range("B17:H17").Select
Range("H17").Activate
Selection.NumberFormat = "[h]:mm"
Cells.Select
With Selection.Font
.Name = "Arial"
.FontStyle = "Bold"
.Size = 8
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
End With
Columns("A").Select
Selection.ColumnWidth = 14
Columns("B:G").Select
Selection.ColumnWidth = 11
Columns("H").Select
Selection.ColumnWidth = 5
Rows("1:4").Select
Selection.RowHeight = 15
Selection.Font.Bold = True
Rows("3:4").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Rows("5:16").Select
Selection.RowHeight = 35
Selection.FormatConditions.Delete
Selection.FormatConditions.Add Type:=xlCellValue, Operator:=xlEqual, _
Formula1:="=""Available"""
With Selection.FormatConditions(1).Font
.Bold = True
.Italic = True
.ColorIndex = 41
End With
Selection.FormatConditions(1).Interior.ColorIndex = 2
Selection.FormatConditions.Add Type:=xlCellValue, Operator:=xlEqual, _
Formula1:="=""Not Available"""
With Selection.FormatConditions(2).Font
.Bold = True
.Italic = False
.ColorIndex = 3
End With
With Selection.FormatConditions(2).Borders(xlLeft)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = xlAutomatic
End With
With Selection.FormatConditions(2).Borders(xlRight)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = xlAutomatic
End With
With Selection.FormatConditions(2).Borders(xlTop)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = xlAutomatic
End With
With Selection.FormatConditions(2).Borders(xlBottom)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = xlAutomatic
End With
End Select
Next
Application.ScreenUpdating = True
End Sub