Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Bob Barnes
 
Posts: n/a
Default Data Sort NOT working...

I've used this code for awhile, & it HAD worked.

But NOT now.

Range("DTop").Select
Selection.Sort Key1:=Range("AJ65"), Order1:=xlDescending, Header:=xlGuess _
, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal

Is there another way to ensure a Sort??

TIA - Bob

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Barnes
 
Posts: n/a
Default Data Sort NOT working...

Doing a little reading in Old threads...the solution...
the recorded macro had
Header:=xlGuess

which needs to be replaced w/
....Header:=xlNo

Bob

"Bob Barnes" wrote:

I've used this code for awhile, & it HAD worked.

But NOT now.

Range("DTop").Select
Selection.Sort Key1:=Range("AJ65"), Order1:=xlDescending, Header:=xlGuess _
, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal

Is there another way to ensure a Sort??

TIA - Bob

Reply
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
Sort corrupts mass data intermittently? robreil Excel Discussion (Misc queries) 1 June 15th 06 10:14 PM
Excel 2003 Data Sort & Subtotaling not working properly Roibn L Taylor Excel Discussion (Misc queries) 5 December 8th 05 05:59 PM
macro to sort data in worksheet by specific date joey Excel Discussion (Misc queries) 0 November 14th 05 07:59 PM
Data Connection wizard quits working SJR@mbci Excel Discussion (Misc queries) 0 June 22nd 05 03:59 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


All times are GMT +1. The time now is 07:20 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"