yeah sorry i should've posted the code when I started the thread
'Filtering Branded Thermals
Selection.AutoFilter Field:=1, Criteria1:="BT"
Range("A1").CurrentRegion.Select
Selection.Copy
Sheets.Add
ActiveSheet.Name = "Branded Thermals"
Range("A1").Select
ActiveSheet.Paste
Rows("2:2").Select
ActiveWindow.FreezePanes = True
Cells.Select
Cells.EntireColumn.AutoFit
'Produce totals
Range("A1").CurrentRegion.Select
rnum = Selection.Rows.Count
Range(Cells(rnum + 1, 11), Cells(rnum + 1, 13)).FormulaR1C1 = "=SUM(R[-1]C:R[-" & rnum - 1 & "]C)"
Range("A1").Select
Range("N1").End(xlDown).Offset(1, 0).Select
ActiveCell.FormulaR1C1 = "=RC[-1]/RC[-2]"
Selection.Style = "Percent"
Range(Cells(rnum + 1, 11), Cells(rnum + 1, 14)).Activate
With Selection.Interior
.ColorIndex = 6
.Pattern = xlSolid
End With
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.ShrinkToFit = False
.MergeCells = False
End With
Selection.Font.Bold = True
Range("A2").Select