Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding A header in Excel
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00220953
Message ID:
00221283
Vues:
11
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform