How to Reverse the Order of Worksheets in Excel – 3 Methods

Method 1 – Reverse the Order of the Worksheets by Dragging them

Steps:

  • Place the cursor at the bottom-left corner of the Excel workbook.
  • Click and hold until the downward-facing arrow is displayed.

how to reverse the order of worksheets in excel

  • Drag the cursor to the end of all the sheets.

how to reverse the order of worksheets in excel

  • Release the mouse button.

The first sheet moved to the end.

how to reverse the order of worksheets in excel

  • Follow the same steps to move Sheet2.

  • Drag and place it between Sheet5 and Sheet1.

This is the output.

  • Place Sheet3 between Sheet5 and Sheet2.
  • Place Sheet4 between Sheet5 and Sheet3.

how to reverse the order of worksheets in excel

This is the output.


Method 2 – Using the Context Menu

Steps:

  • Right-click the name of the worksheet.
  • Select Move or Copy.

how to reverse the order of worksheets in excel

  • Place the sheet after Sheet5. (Make sure the current workbook is selected. Otherwise, Sheet1 will move to a new workbook.)

how to reverse the order of worksheets in excel

  • Click OK.

This is the output.

how to reverse the order of worksheets in excel

  • Right-click Sheet2 and select Move or Copy.

  • Place it before Sheet1.

  • Click OK.

  • Place Sheet3 between Sheet5 and Sheet2.
  • Place Sheet4 between Sheet5 and Sheet3.

how to reverse the order of worksheets in excel

This is the output.


Method 3 – Using a VBA Code

Steps:

  • Go to the Developer tab.
  • Select Visual Basic in Code.

how to reverse the order of worksheets in excel

  • Go to the Insert tab and click Module.

  • Enter the following code:
Sub Reverse_WorkSheets()
Dim Sheets_Count As Integer
Sheets_Count = Application.ActiveWorkbook.Worksheets.Count
For i = 1 To Sheets_Count - 1
    Application.Worksheets(1).Move After:=Application.Worksheets(Sheets_Count - i + 1)
Next
End Sub
  • Save and close the window.
  • Go to the Developer tab and select Macros in Code.

how to reverse the order of worksheets in excel

  • Select the Macro and click Run.

how to reverse the order of worksheets in excel

The VBA code will reverse the order of the worksheets:

how to reverse the order of worksheets in excel


Download Practice Workbook

Download the sample workbook.


Related Article


<< Go Back to Organize Sheets in Excel | Excel Worksheets | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Abrar-ur-Rahman Niloy
Abrar-ur-Rahman Niloy

Abrar-ur-Rahman Niloy, holding a B.Sc. in Naval Architecture and Marine Engineering, has contributed to Exceldemy for nearly 1.5 years. As a leader in Excel, VBA, and Content Development teams, he authored 114+ articles and assisted the Exceldemy forum. Presently, as a project writer, he prioritizes stepping out of his comfort zone, aiming for constant technical improvement. Niloy's interests encompass Excel & VBA, Pivot Table, Power Query, Python, Data Analysis, and Machine Learning libraries, showcasing his commitment to diverse... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo