Minggu, 29 Januari 2012

RE: [ExcelVBA] Sorting

 

Hi Lisa
Actually it depends how you sort. Excel itself has a case insensitive sort,
so if you sort a range of cells it will put n before Z. However if you sort
an array using VBA the default is a case sensitive sort (I think).

If you want case insensitive you might need to put the array onto a
spreadsheet and the use the Worksheetfunction.sort and then pull them back
in to the array.

Best Regards
David Grugeon
Excel VBA Group Moderator

-----Original Message-----
From: ExcelVBA@yahoogroups.com [mailto:ExcelVBA@yahoogroups.com] On Behalf
Of Robert E. Carneal
Sent: Monday, 30 January 2012 4:37 AM
To: ExcelVBA@yahoogroups.com
Subject: Re: [ExcelVBA] Sorting

*uhhhh, should that be:

Lower case comes before upper case, so a-z then A-Z?

**Thank you.

**Robert*
*Genealogy without documentation is mythology! Always SOURCE your work.*

On Sun, Jan 29, 2012 at 11:44 AM, VisioMVP <VisioMVP@magma.ca> wrote:

> **
>
>
> Lower case comes before upper case so A-Z then a-z
>
> John. Visio MVP
>

[Non-text portions of this message have been removed]

------------------------------------

----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go
here: http://www.mousetrax.com/techtrax to enter the ezine, then search the
ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------Yahoo! Groups Links

__._,_.___
Recent Activity:
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
.

__,_._,___

Tidak ada komentar:

Posting Komentar