我是 Applescripts 和 Excel 08 的新手?我想写一个在 Excel 08 特定颜色中任意预选单元格的颜色。我可以让它在预选的单元格中写下需要,甚至加粗字体……但由于某种原因,它不会改变单元格的颜色……
print("Tell application "Microsoft Excel"
activate
set formula of active cell to "excellent answer"
set bold of font object of active cell to true
activate cell active cell");
这部分由于某种原因不起作用`
print("tell interior object of active cell of active sheet
set color index to 3
set pattern to pattern gray 50
set pattern color index to 13
end tell");
不知道为什么