Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Excel Errors / April 2007

Tip: Looking for answers? Try searching our database.

Runtime Error in 2003 not in 2007

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nilchii - 23 Apr 2007 18:28 GMT
Hi

This code:

ActiveWorkbook.Worksheets("Start").Sort.SortFields.Clear

Is causing a runtime error in Excel 2003, but not in 2007. Any insight as to
why this would be so?

Thanks
Matt
Nick Hodge - 23 Apr 2007 19:44 GMT
Matt

SortFields was added with the new sort functionality in 2007, therefore 2003
does not understand it. (Always develop on the oldest version to be 'more'
sure)

Signature

HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
nick_hodgeTAKETHISOUT@zen.co.ukANDTHIS
web: www.nickhodge.co.uk
blog: www.nickhodge.co.uk/blog/

FREE UK OFFICE USER GROUP MEETING, MS READING, 27th APRIL 2007
www.officeusergroup.co.uk

> Hi
>
[quoted text clipped - 8 lines]
> Thanks
> Matt
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.