我有一个Excel 2008文件。这会在打开时发出警告消息。我希望这条消息不被显示。
tell application "Microsoft Excel"
open workbook workbook file name "private:var:root:Desktop:XLS FILES:Copy of
New Microsoft Excel Worksheet (5).xlsx" read only 1
end tell
使用上述脚本打开Excel文件但仍显示Excel警告:
答案 0 :(得分:0)
尝试:
tell application "Microsoft Excel"
open workbook workbook file name "private:var:root:Desktop:XLS FILES:Copy of New Microsoft Excel Worksheet (5).xlsx" with ignore read only recommended
end tell