I am trying to make a new chart sheet (not just a chart) via applescript. Excel keeps crashing using this code:
tell application "Microsoft Excel"
tell active workbook
make new chart sheet at end
end tell
end tell
I’m sure this is really simple, but what am I missing? I’ve tried this on both Excel 2008 & 2011.
Model: MacBook Pro 2.66GHz Intel Core 2 Duo
AppleScript: 2.1.2
Browser: Safari 533.17.8
Operating System: Mac OS X (10.6)