【问题标题】:Block the Excel message "content that is not suported" using AppleScript使用 AppleScript 阻止 Excel 消息“不支持的内容”
【发布时间】:2013-02-21 04:43:32
【问题描述】:

我有一个 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 警告:

【问题讨论】:

    标签: excel macos applescript excel-2008


    【解决方案1】:

    试试:

    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
    

    【讨论】:

    • 我在 Office 2008 中的问题不是 2011 年。
    • 您的脚本是打开的 excel 文件,并带有提示的 excel 消息。
    猜你喜欢
    • 2017-12-02
    • 2011-06-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-07-22
    • 1970-01-01
    • 1970-01-01
    • 2020-07-11
    相关资源
    最近更新 更多