LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Run-time error 1004 with sort

Hi,

The code below works fine on my computer which has Excel 2003 but is coming
up with a Run-Time error 1004 on my client's computer which has Excel 2000.
The actual line being highlighted by Debug is surrounded by << below. Any
help is appreciated! Also, is it possible to have Excel 2003 operate in
Excel 2000 mode? I ask because I have a lot of macros going on this
spreadsheet and I suspect there may be more of these types of errors in the
code with 2000 and would like for me to catch all the errors, not my client.

Range("I15:L34").Select
<<Selection.Sort Key1:=Range("I15"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal


Thanks!

Robert
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run time error 1004, General ODBC error [email protected] New Users to Excel 0 September 19th 05 01:41 AM
Run-time error 1004 with sort Jim Thomlinson[_4_] Excel Programming 0 August 29th 05 09:48 PM
run-time error '1004': Application-defined or object-deifined error [email protected] Excel Programming 5 August 10th 05 09:39 PM
Run time error 1004 General ODCB Error Kevin Excel Programming 3 February 26th 05 12:51 PM
Application Run Time Error 1004 and Stack Error ExcelMonkey[_190_] Excel Programming 9 February 11th 05 04:48 PM


All times are GMT +1. The time now is 07:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"