Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting in Excel
Message
From
30/01/2004 15:23:51
 
 
To
30/01/2004 05:27:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00871887
Message ID:
00872514
Views:
23
Cetin -

Thanks for your suggestion. Unfortunately I still can't get it to work. A direct cut and paste of your line ie.

.UsedRange.Sort(oSheet.Range("B2"),xlDescending,oSheet.Range('C2'),,xlDescending,oSheet.Range('E2'),,xlGuess,,.F.,xlTopToBottom)

with only minimal change to fit my situation ie.

oSheet.range("A6:W155").Sort(oSheet.Range('B2'),xlDescending,oSheet.Range('C2'),,xlDescending,oSheet.Range('E2'),,xlGuess,,.F.,xlTopToBottom)

produces a syntax error when it runs. The constants are of course initialized beforehand and the code is all on one line.

I've also tried it with the constants input directly and both variations of the "False", .F.

Could it be a difference in versions of excel? I'm running 10.2614.2625.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform