Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 3,365
Default Auto Sort

It appears that the second link that Gerigto provided would be closest to
what you desire - you'll need to modify it to deal with the range you need
sorted. Recording a macro while you actually perform a sort will give you
the code you need.

Now, to make it a true auto-sort when existing data within the range
changes, you'll need to get the code into the worksheet's _Change() event
handler and do some testing to see if the change took place within the range
to be resorted.

If you need help with that, post back. If you do, also explain a little
more about your definition of "change" in this context - do you mean just
changing existing entries, or also deleting/adding entries to the columns
involved? Deleting shouldn't be much of an issue - presumably the list would
remain sorted, but adding new entries would very likely create a need to
resort.

"loc" wrote:

Can you auto sort a group of cells when a value is changed?

 
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
Is there a way to Auto sort or save a sort? Barbie Excel Discussion (Misc queries) 11 December 1st 09 09:48 PM
Auto sort A Excel Worksheet Functions 1 March 29th 06 11:13 PM
Auto Sort ??? goodpasture Excel Discussion (Misc queries) 0 May 31st 05 08:24 PM
auto sort? Dave Excel Discussion (Misc queries) 10 April 5th 05 12:33 PM
Auto Sort Phil Excel Worksheet Functions 1 November 24th 04 11:13 AM


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