Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel superscript
Message
 
À
07/05/2007 13:50:08
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01223124
Message ID:
01223136
Vues:
16
Don,
Based on Naomi's macro
oExcel = CREATEOBJECT([Excel.Application])
oExcel.WorkdBooks.Add()
oExcel.Cell(1,1).Text = [asdasd asd asd asdasdasdasdasdasd]
With oExcel.ActiveCell.Characters(1, 5).Font
        .Name = "Arial"
        .FontStyle = "Regular"
        .Size = 10
EndWith

With oExcel.ActiveCell.Characters(6, 5).Font
        .Name = "Arial"
        .FontStyle = "Regular"
        .Size = 10
        .Superscript = .t.
    EndWith
EndWith
Not tested because I have no MS Office installed on my computer, so maybe I am completely wrong.
Unfortunately MS Office 2007 can't be installed on Server OS with Terminal services turned ON.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform