Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding A header in Excel
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00220953
Message ID:
00221283
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform