Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel automation - formula
Message
 
 
À
06/07/2007 13:53:11
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01238295
Message ID:
01238299
Vues:
27
>I tried the command line below borrowed from "Ms Office Automation with VFP" but it wont work. Got OLE error message.
>Any help?
>
>oExcel.ActiveSheet.Range("K:22").Formula = "=SUM(K19;K16;K10;K7)"
>
What exactly is the error? Could it be that you need to use , instead of ; ?

See Re: Formulas in Excel Thread #1203274 Message #1203319

Also your range doesn't look right to me.
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