Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Setup / June 2007

Tip: Looking for answers? Try searching our database.

Auto Sort

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
loc - 22 May 2007 17:01 GMT
Can you auto sort a group of cells when a value is changed?
Gerigto - 23 May 2007 02:45 GMT
http://www.computing.net/office/wwwboard/forum/5251.html

http://forums.pcworld.co.nz/archive/index.php/t-37983.html
Signature

TG

> Can you auto sort a group of cells when a value is changed?
JLatham - 01 Jun 2007 19:21 GMT
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.

> Can you auto sort a group of cells when a value is changed?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.