VBA – Sort Sheets Alphabetically

Associated Files Download Links



The following routine will sort the sheets in a workbook alphabetically. The flag “Sort_Mode_Descending” can be switched between descending and ascending as required. The routine is case INSENSITIVE.

To download the .XLSM file from this article, click here.

VBA Coding Made Easy

Stop searching for VBA code online. Learn more about AutoMacro – A VBA Code Builder that allows beginners to code procedures from scratch with minimal coding knowledge and with many time-saving features for all users!

alt text

Learn More!


<<Return to VBA Examples

Did you find this VBA tutorial useful? Then share it with your friends and colleagues:

You may also like some of this related content...

The following macro loops through every sheet in a workbook and writes the tab name
This tutorial will teach you how to hide and unhide Worksheets with VBA Hide Sheet
This article will discuss the ActiveSheet object in VBA. It will also discuss how to
If your template design requires making Excel look less like Excel, you might want to
Unhide All Worksheets in Workbook The following is a macro to unhide all worksheets in
Ads