Discussion:
|
By Chip Pearson, Microsoft Excel MVP, of www.cpearson.com. You may receive an Excel file from your home office each week with one worksheet for each salesperson. The worksheets may be in employee number order, or no particular order at all, and you would always like to place them in alphabetical order. Here's your tool. You can skip the first worksheet or two or three by changing the FirstWSToSort number to the index number of the first worksheet you want to sort. The code below starts with the first worksheet, but our sample file starts with the second.
|