Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel.subtotal
Message
De
15/08/2002 04:44:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/08/2002 14:50:54
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00689689
Message ID:
00689882
Vues:
20
Peter,
Pass the array with reference :
.Subtotal(1,-4157,@la1,.t.,.f.,.t.)
Cetin

>I now took the .Subtotal out and the error goes away. The subtotal line is created but the columns in my array la1 are not created?
>How can I pass the column numbers??
>
>
>Peter
>
>
>>the following reports oRange is not an object
>>
>>
>>oRange=THISFORM.oExcel.activesheet.RANGE("a4:l"+TRANSFORM(lnNumRecs))
>>
>>oRange.selection.Subtotal(1,-4157,la1,.t.,.f.,.t.)
>>

>>
>>
>>It is supposed to subtotal on theleftmost column. la1 is an array with 5 members each being the column number of the5 colums which need to be subtotaled
>>
>>Anyone any ideas??
>>
>>Thanks
>>Peter
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform