Skip to content

Instantly share code, notes, and snippets.

@rok-git
Created February 6, 2018 06:40
Show Gist options
  • Save rok-git/b621ad2d19c7b1ca7153074a18455a7c to your computer and use it in GitHub Desktop.
Save rok-git/b621ad2d19c7b1ca7153074a18455a7c to your computer and use it in GitHub Desktop.
Excel のワークシートを逆順に並び換える。
tell application "Microsoft Excel"
activate
set sheet_num to count sheets
repeat with i from 1 to sheet_num - 1
move sheet 1 to after sheet (sheet_num - i + 1)
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment