Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel formula - OLE error
Message
De
21/09/2012 07:13:03
 
 
À
21/09/2012 06:32:44
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01553379
Message ID:
01553383
Vues:
48
>>I try to use this formula for exporting data to MS excel but I get an Ole error(OLE error code 0x800a03ec: Unknown COM Status code.
>>
>>"=HA(N" + ALLTRIM(STR(RECNO()+1))+ "=SZUM(Y" +ALLTRIM(STR(RECNO()+1))
>>
>>
>>But If I leave out the 4. bracket ,"(", it works...
>>
>>"=HA(N" + ALLTRIM(STR(RECNO()+1))+ "=SZUMY" +ALLTRIM(STR(RECNO()+1))
>>
>>
>>Any help would be appreciated
>>
>>T.
>
>Are you sure there is such expression in Excel:
>
>=HA(N1=SZUM(Y1
>
>
>You missed several closing brackets here.

Here's the whole expression:
"=HA(N" + ALLTRIM(STR(RECNO()+1))+ "=SZUM(Y" +ALLTRIM(STR(RECNO()+1))+;
 ":AE"+ ALLTRIM(STR(RECNO()+1))+ ");"+'"'+"OK"+'"'+";"+'"'+"Nem OK"+'"'+")"
It gives the result of this:
=HA(N1=SZUM(Y1:AE1);"OK";"NemOK"), 
But I get the error...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform