Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set listOfCities to {"Alingsås", "Borås", "Uppsala", "Växjö"}
- tell application "Microsoft Excel"
- repeat with thisCity in listOfCities
- make new worksheet at before sheet "Blad1" of active workbook
- set name of active sheet to thisCity
- end repeat
- end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement