>I am reffering to a title on the spreadheet itself. Like:
>
> With xl.ActiveSheet.PageSetup
> .CenterHeader = _
> "&""Arial,Bold Italic""&18This is my Test Excel Header"
> EndWith
>
>FoxPro does not like this syntax. Any suggestions?
>
>
>
>>>Has anyone suscessfully added and changed the font of a header in excel with FoxPro?
>>>
>>>TIA
>>If you're referring to charts (chart title, axistitle etc) before setting title properties add :
>>.hastitle = .t.
>>Cetin
Jeff,
for me it looks like you're using the VB syntax (the underscore) to continue your command on the next row (.CenterHeader = _ ), have you tried to use the VFP syntax (.CenterHeader = ; ) ?
Vlad-Georg