Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to sort by asc in Excel ?
Message
De
21/05/2012 06:16:22
 
 
À
21/05/2012 05:26:01
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01543897
Message ID:
01543898
Vues:
38
>Hi all,
> I use vb.net and generate the excel. Import Microsoft Excel9.0 Object Library.
> I already go to excel marco to sort the data,and copy this code. After i go to vb.net paste it but error.
>Code in the below,error is xlAscending,xlGuess, xlTopToBottom no declared ...
>Anyone can give some idea with me, Thank you ...
>
>
>XL.Selection.Sort(Key1:=Sheet.Range("A" + startPoint), Order1:=xlAscending, Header:=xlGuess, _
>            OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom)
>
>
>
For excel constants see http://msdn.microsoft.com/en-us/library/aa221100(v=office.11).aspx
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform