Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Collation inconsistencies

Yes, I did have to format the areas I was working with as Text in order to
for my program to work right.

"Peter T" wrote:

Whilst there are some inconsistencies in Excel's sort vs comparison
operators overall both systems work logically, ie likely to be of most use
to most people most of the time.

However there are also differences in comparison methods in Excel & VB/A.
IOW a VB/A bubble sort will not compare in the same way as Excel's
comparison operators with a variety of data types. Option Compare Text helps
but not entirely.

Regards,
Peter T


"Patricia Shannon" wrote in
message ...
In a macro, .Sort should give results consistent with comparison

operators;
in fact, that should be the default sort order.
I finally sorted the data myself, with a bubble sort. Since it sorted

based
on comparison operators, I got what I wanted, but I wasted a lot of time
trying, and failing, to use built-in methods.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow

this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.


http://www.microsoft.com/communities...ault.aspx?mid=
39e5b01e-037c-4476-ac8c-536c9927d196&dg=microsoft.public.excel.programming



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
Groupings and inconsistencies Rod[_2_] Excel Discussion (Misc queries) 3 December 16th 09 05:17 PM
Data collation Pootle Excel Discussion (Misc queries) 2 February 20th 09 06:43 PM
Data collation Kerry Excel Discussion (Misc queries) 0 October 31st 07 03:44 PM
Data collation killing me!! rhani111 Excel Worksheet Functions 19 August 10th 06 02:13 AM
Turn off collation permanently in Excel Sherry Excel Discussion (Misc queries) 4 November 16th 05 12:36 AM


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