02.12.2012 19:40:00 • Categories: Applescript, Excel • Tags: Applescript, Excel
AppleScript: change alignment of cell in excel sheet
(* excel_alignment.applescript *)tell application "Microsoft Excel" tell range "A1:J10" of active sheet set horizontal alignment to horizontal align center set vertical alignment to vertical alignment center set wrap text to true end tell end tell