Guest User

Untitled

a guest
Oct 29th, 2018
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Sub ReverseSheets()
  2. Dim xCount As Integer
  3. xCount = Application.ActiveWorkbook.Worksheets.Count
  4. For i = 1 To xCount - 1
  5.     Application.Worksheets(1).Move After:=Application.Worksheets(xCount - i + 1)
  6. Next
  7. End Sub
Advertisement
Add Comment
Please, Sign In to add comment