Columns("A:A").ColumnWidth = 74.86 Columns("B:B").ColumnWidth = 25.43
Columns("C:C").ColumnWidth = 17.71
Columns("D:D").ColumnWidth = 20.29
Columns("E:E").ColumnWidth = 21.86
Columns("F:F").ColumnWidth = 17.29
Range("B2").Select
Selection.Style = "Comma"
Selection.NumberFormat = "_-* #,##0.0_-;-* #,##0.0_-;_-* ""-""??_-;_-@_-"
Selection.NumberFormat = "_-* #,#[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=0_]#0_[/URL] -;-* #,#[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=0_]#0_[/URL] -;_-* ""-""??_-;_-@_-"
Range("B6:B500").Select
Selection.Style = "Comma"
Selection.NumberFormat = "_-* #,##0.0_-;-* #,##0.0_-;_-* ""-""??_-;_-@_-"
Selection.NumberFormat = "_-* #,#[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=0_]#0_[/URL] -;-* #,#[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=0_]#0_[/URL] -;_-* ""-""??_-;_-@_-"
Range("F6:F500").Select
Selection.NumberFormat = "[$-F800]dddd, mmmm dd, yyyy"
Range("D2").Select
Selection.NumberFormat = "[$-F800]dddd, mmmm dd, yyyy"
Range("A1").Select
ActiveCell.FormulaR1C1 = "Product Name"
Range("B1").Select
ActiveCell.FormulaR1C1 = "Total Received"
Range("D1").Select
ActiveCell.FormulaR1C1 = "Strike Date"
Range("A5").Select
ActiveCell.FormulaR1C1 = "Product Name"
Range("B5").Select
ActiveCell.FormulaR1C1 = "Nominal"
Range("C5").Select
ActiveCell.FormulaR1C1 = "Price %"
Range("D5").Select
ActiveCell.FormulaR1C1 = "Life Co"
Range("E5").Select
ActiveCell.FormulaR1C1 = "Policy / Account No."
Range("F5").Select
ActiveCell.FormulaR1C1 = "Order Placed"
subt = WorksheetFunction.Sum(Range("B6:B500"))
Range("B2" & lastrow).Value = subt
Rows("1:1").Select
Selection.Font.Bold = True
Rows("5:5").Select
Selection.Font.Bold = True
Application.PrintCommunication = False
With ActiveSheet.PageSetup
.PrintTitleRows = ""
.PrintTitleColumns = ""
Application.PrintCommunication = False
ActiveSheet.PageSetup.PrintArea = ""
Application.PrintCommunication = False
With ActiveSheet.PageSetup
.LeftMargin = Application.InchesToPoints(0.7)
.RightMargin = Application.InchesToPoints(0.7)
.TopMargin = Application.InchesToPoints(0.75)
.BottomMargin = Application.InchesToPoints(0.75)
.HeaderMargin = Application.InchesToPoints(0.3)
.FooterMargin = Application.InchesToPoints(0.3)
.Orientation = xlLandscape
.FitToPagesWide = 1
.FitToPagesTall = 10
End With
End With
End Sub