轴标题设置

如何在Excel 2008中使用AppleScript将垂直轴标题应用为旋转标题,水平标题,垂直标题。

tell application "Microsoft Excel" tell worksheet 1 of active workbook set ochart to chart of chart object "chartname" tell ochart set cattitle to gat axis of ochart axis type category axis which axis primary axis tell cattitle set has title to 1 ----- how to apply a title position (Horizontal,Rotated,Vertical title) end tell end tell end tell 

我在苹果excel字典里找不到苹果脚本命令有帮助。 在这里输入图像说明

尝试:

 tell application "Microsoft Excel" tell worksheet "Sheet1" of active workbook set ochart1 to chart of chart object 1 tell ochart1 set valueA to get axis axis type value axis which axis primary axis tell valueA set it's has title to true set axis title text of it's axis title to "Rotated" end tell end tell end tell end tell