Information générale
Catégorie:
COM/DCOM et OLE Automation
Try:
with objExcel
.Selection.Sort(.Activesheet.Range("B1"), .Activesheet.Range("C1"))
endwith
>I'm trying to sort all the data in an Excel spreadsheet from a VFP 6 program with this command:
>
>.CurrentRegion.Sort Key1:=Range("B1"),Key2:=Range("C1")
>
>My other Excel commands are working, but this one is giving me a syntax error and my guessing of variations haven't worked.
>
>Any clues?
>
>Also, do you know of any good documentation on command syntax for working with Excel from VFP, other than "Microsoft Office Automation with Visual FoxPro"?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement