Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Automation
Message
From
29/05/2003 01:28:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Excel Automation
Miscellaneous
Thread ID:
00793810
Message ID:
00793810
Views:
46
I am having trouble with Excel automation, I am trying to sort on column 7 within the spreadsheet from within vfp. The latest code I am using is

.range(.cells(1,1),.cells(65536,256)).sort(.range(.cells(1,7),.cells(65536,7)),xlDescending,xlGuess,1,"False",xlToptoBottom)

I got this code from looking at the macro within Excel, but no matter what I try I am either getting an error or it doesn't sort. If any one can help with this, it would be appreciated.

Darren Donald
Next
Reply
Map
View

Click here to load this message in the networking platform