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

Recent comments
6 hours 48 min ago
8 hours 43 min ago
1 day 1 hour ago
1 day 1 hour ago
1 day 9 hours ago
1 day 11 hours ago
2 days 4 hours ago
2 days 5 hours ago
2 days 5 hours ago
2 days 5 hours ago