Tried both above but maybe I am not using the solutions correctly. Below is the whole Subroutine called by the main sub
Sub WrtHeading()
'Write Heading
Set OutSheet = wbBook.Worksheets(CurGroup)
OutSheet.Cells(OutLineNum, "A") = "Invoice"
OutSheet.Cells(OutLineNum, "B") = "Old Inv*"
OutSheet.Cells(OutLineNum, "C") = "Due Date"
OutSheet.Cells(OutLineNum, "D") = "Invoiced"
OutSheet.Cells(OutLineNum, "E") = "Payment"
OutSheet.Cells(OutLineNum, "F") = "OutStanding"
OutSheet.Cells(OutLineNum, "G") = "0-30 "
OutSheet.Cells(OutLineNum, "H") = "30-60"
OutSheet.Cells(OutLineNum, "I") = "60-90"
OutSheet.Cells(OutLineNum, "J") = "90+ "
'I want to replace the following lines
OutSheet.Cells(OutLineNum, "A").Font.Bold = True
OutSheet.Cells(OutLineNum, "B").Font.Bold = True
OutSheet.Cells(OutLineNum, "C").Font.Bold = True
OutSheet.Cells(OutLineNum, "D").Font.Bold = True
OutSheet.Cells(OutLineNum, "E").Font.Bold = True
OutSheet.Cells(OutLineNum, "F").Font.Bold = True
OutSheet.Cells(OutLineNum, "G").Font.Bold = True
OutSheet.Cells(OutLineNum, "H").Font.Bold = True
OutSheet.Cells(OutLineNum, "I").Font.Bold = True
OutSheet.Cells(OutLineNum, "J").Font.Bold = True
OutLineNum = OutLineNum + 1
End Sub
Bookmarks