Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set listOfCities to {"Alingsås", "Borås", "Uppsala", "Växjö"}
  2.  
  3. tell application "Microsoft Excel"
  4.     repeat with thisCity in listOfCities
  5.         make new worksheet at before sheet "Blad1" of active workbook
  6.         set name of active sheet to thisCity
  7.     end repeat
  8.    
  9. end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement