+ Reply to Thread
Results 1 to 6 of 6

Resolved >>> Adjust code to include sorting employee sheets a-z?

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    04-11-2006
    Posts
    407
    You can put the code from the link in a new Module and then put something like this:
    mySorting = SortWorksheetsByName(2, Sheets.Count, "")
    after your code:
    '7.Rename the sheet (preferably using "Surname, Initial.")
        Sheets(Sheets.Count).Name = strNewWB
    The "2" will likely need to be changed as your needs require, but that will sort sheets starting from your second sheet all the way to the sheet furthest to the right.

  2. #2
    Registered User
    Join Date
    10-08-2007
    Posts
    33

    Worksheets sorting beautifully!

    Thank you once again!

    The code does exactly what I wanted it to. This forum has really inspired me to get to grips with VBA.

    I intend to get a good book and digest! I think once I get a handle on the basics, i.e what a module actually is, etc, everthing will become clear.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1