I am trying to put a list in the page footer using & chr(10)&. Here is my code. What am I doing wrong?
With ActiveSheet.PageSetup
.LeftHeader = ""
.CenterHeader = "&""Arial,Bold""&14PO Price Variance"
.RightHeader = "&D"
.CenterFooter = ""
.RightFooter = "Page &P of &N"
.LeftMargin = Application.InchesToPoints(0.25)
.RightMargin = Application.InchesToPoints(0.25)
.TopMargin = Application.InchesToPoints(0.5)
.BottomMargin = Application.InchesToPoints(1)
.HeaderMargin = Application.InchesToPoints(0.25)
.FooterMargin = Application.InchesToPoints(0.75)
.LeftFooter = "Reason Code:1 Negotiated cost-down 2 Supplier cost incrrease 3 Volume change 4 New source" & Chr(10) & _
"5 Secondary source 6 Design/engineering change" & Chr(10) & _
"7 Inaccurate standard cost 8 Surcharge 9 Unplanned outsource" & Chr(10) & _
"10 Product transfer 11 Obsolete standard cost"
.PrintHeadings = True
.PrintGridlines = True
.PrintComments = xlPrintNoComments
.PrintQuality = 600
.CenterHorizontally = True
.CenterVertically = False
.Orientation = xlLandscape
.Draft = False
.PaperSize = xlPaperLetter
.FirstPageNumber = xlAutomatic
.Order = xlDownThenOver
.BlackAndWhite = False
.Zoom = 72
End With
With ActiveSheet.PageSetup
.LeftHeader = ""
.CenterHeader = "&""Arial,Bold""&14PO Price Variance"
.RightHeader = "&D"
.CenterFooter = ""
.RightFooter = "Page &P of &N"
.LeftMargin = Application.InchesToPoints(0.25)
.RightMargin = Application.InchesToPoints(0.25)
.TopMargin = Application.InchesToPoints(0.5)
.BottomMargin = Application.InchesToPoints(1)
.HeaderMargin = Application.InchesToPoints(0.25)
.FooterMargin = Application.InchesToPoints(0.75)
.LeftFooter = "Reason Code:1 Negotiated cost-down 2 Supplier cost incrrease 3 Volume change 4 New source" & Chr(10) & _
"5 Secondary source 6 Design/engineering change" & Chr(10) & _
"7 Inaccurate standard cost 8 Surcharge 9 Unplanned outsource" & Chr(10) & _
"10 Product transfer 11 Obsolete standard cost"
.PrintHeadings = True
.PrintGridlines = True
.PrintComments = xlPrintNoComments
.PrintQuality = 600
.CenterHorizontally = True
.CenterVertically = False
.Orientation = xlLandscape
.Draft = False
.PaperSize = xlPaperLetter
.FirstPageNumber = xlAutomatic
.Order = xlDownThenOver
.BlackAndWhite = False
.Zoom = 72
End With