Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel replace function
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01096827
Message ID:
01101861
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform