Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing arrays to Excel variant properties
Message
De
01/04/2004 07:34:53
Norbert Kustra
SunSoft plus spol. s r.o.
Dolny Kubin, Slovaquie
 
 
À
01/04/2004 07:04:33
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00887487
Message ID:
00891430
Vues:
31
If your e-mail doesn't work, you can try this:
Download the sample data from http://www.sunsoft.sk/ftp/test.zip
Open TEST1.XLS - there are two pivottables on the sheet connected to the same pivotcache. Open VFP and try this code:
xl=GETOBJECT(,"Excel.Application")
pc=xl.ActiveWorkbook.PivotCaches(1)
pc.CommandText = 'select * from DS1 ds1'
... and I get error OLE error code 0x800a03ec: Unknown COM status code... :-(
When I open TEST2 with one pivottable, all works fine.

Do you have any idea how to reslove this problem?
Thanks
Norbert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform