此脚本通过错误“Microsoft Excel 出现错误:活动工作簿的工作表“sheet1”不理解设置的图表元素消息。”
tell application "Microsoft Excel"
tell worksheet "Sheet1" of active workbook
set ochart1 to chart of chart object 1
tell ochart1
set chart element chart element 1
--- create the chart title on chart with value 1
end tell
end tell
end tell
.