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
- 3554 reads

Recent comments
12 hours 54 min ago
20 hours 11 min ago
23 hours 4 min ago
23 hours 9 min ago
1 day 13 hours ago
1 day 14 hours ago
1 day 23 hours ago
2 days 15 hours ago
3 days 15 hours ago
3 days 16 hours ago