>I want to have it look like this:
>Company Name
>Report
>Date
>
>When it prints. I cannot figure out how to turn "& chr(10) &" into the correct code in VFP.
>
>Thanks
>Todd
>
> With oSheet.ActiveSheet.PageSetup
> .CenterHeader = "Company Name - Report - Date"
> .RightHeader = ""
> .LeftFooter = ""
> .CenterFooter = ""
> .RightFooter = ""
>* .LeftMargin = Application.InchesToPoints(0.33)
>* .RightMargin = Application.InchesToPoints(0.34)
>* .TopMargin = Application.InchesToPoints(1)
>* .BottomMargin = Application.InchesToPoints(1)
>* .HeaderMargin = Application.InchesToPoints(0.5)
>* .FooterMargin = Application.InchesToPoints(0.5)
> .PrintHeadings = .T.
> .PrintGridlines = .T.
> .PrintQuality = 600
> .CenterHorizontally = .T.
> .CenterVertically = .F.
> .Orientation = 2
> .Draft = .T.
> .PaperSize = 5
> .Zoom = .F.
> .FitToPagesWide = 4
> .FitToPagesTall = 1
> EndWith
.CenterHeader = "Company" + Chr(10) + "Report" + Chr(10) + "Date"
Cetin