Apple スクリプトを使用して、Excel 2011 で複数の系列を持つグラフを作成したいと考えています。
tell application "Microsoft Excel"
tell worksheet "Sheet1" of active workbook
set obj to make new chart object at end with properties {left position:20, top:88, width:33, height:90}
set ochart to chart of obj
set chart type of ochart to column clustered
set series 1 of series collection to ochart
tell series 1
set xvalues to "=Sheet1!$B$7:$B$10"
set name to "shartseries1"
end tell
end tell
end tell
このスクリプトでは、チャートが作成され、チャート タイプが正常に設定されますが、チャート シリーズは作成されません。