Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel replace function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01096827
Message ID:
01101861
Vues:
12
Ok, now this code works (don't know why it didn't before):
loExcel.Range([A1], loExcel.Selection.SpecialCells(xlLastCell)).Select
loExcel.Selection.FormatConditions.Delete
loExcel.Selection.FormatConditions.Add(xlExpression,, '=Left($A1,7)="TOTALS:"')

With loExcel.Selection.FormatConditions(1)
    .Font.Bold = .T.
    .Interior.ColorIndex = 4
Endwith
However, the question about saving and saving format is asked. How should I get rid of it?

Thanks.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform