9-Jan-09: Smart Table Sorting using VBA

This example sheet is one of my favourites... This version only works in XL 2007, but the same principles can work in 2003.
Suppose you have a normal table:
Now suppose you need to change the sort order of the sheet all the time... that's quite a pain. This example sheet has code in the worksheet module that will sort the table whenever you click on a heading. The cunning part is that it toggles between ascending and descending, so all you have to do to reverse the order is to click off then on again.
This can save a huge amount of time !
| Attachment | Size |
|---|---|
| SortTable.xls | 40.5 KB |
»
- Add new comment
- 4384 reads

Recent comments
1 hour 23 min ago
1 day 5 hours ago
1 day 22 hours ago
2 days 20 hours ago
2 days 20 hours ago
2 days 22 hours ago
3 days 5 hours ago
3 days 14 hours ago
3 days 15 hours ago
3 days 20 hours ago