Hi all
I’ve been having a look at automatic sorting of sheet tabnames when you make a change to a sheet tabname.
(This was triggered after looking at some of Ferenc’s files)
As we know, there isn’t currently a ‘changed-sheetname event’.
So we have to look at other ways of doing this.
I have attached an example file to show my progress so far.
If testing and playing with this, don’t have your own files open!
When sorting by sheet tabnames by number, all non-numeric characters in sheet tabnames are ignored.
1 is followed by 2 (rather than ‘text-sort-order’ 1, 11, 114 etc etc)
When sorting by type, sheet tabs are sorted in numeric order by group character + , # , @ and ! in the sheet tab names
If you edit a sheet tabname by adding or removing a group character +, #, @ or !, then when you move the cellpointer on that particular sheet, this will trigger the automatic sorting of sheets by type.
The routines in this workbook use cells [a1] and [a2] on each sheet. Other cells could be used by changing the vba code in the Workbook Open event
I would be interested in your comments, views, and suggestions for improvement.
zeddy
•Tropical Wet Leisure Guard
.