此段落內的文章

啟用巨集

Cascade 依賴 Microsoft Excel 巨集才能正常運作。因此,您必須為 Cascade 啟用巨集。以下涵蓋您可能遇到的最常見的巨集問題範例。

本文章節


Windows

首次在 Windows 開啟 Cascade 時,Excel 可能會顯示黃色安全警告橫幅。點擊 啟用內容 以啟用巨集。如果您是從網路位置存取 Cascade,也可能會出現安全警告視窗。點擊  將該檔案設為受信任文件。

Screenshot of the Excel warning banner.
Excel 安全警告橫幅

 

Screenshot of the Security Warning window.
安全警告視窗

另外,Excel 也可能顯示安全通知視窗。點擊 啟用巨集

Screenshot of the Security Notice window.
安全通知視窗

 

疑難排解

如果 Excel 顯示無法執行巨集的訊息,請確認 Windows 並未封鎖 Cascade 檔案。

Screenshot of the Excel message.
Excel 訊息
  1. 如果 Cascade 檔案已開啟,請先關閉它。
  2. 在 Windows 中前往 Cascade 檔案位置,右鍵點擊該檔案,然後選擇 內容
  3. 在檔案的 內容 視窗的「一般」標籤頁底部,取消勾選 解除封鎖 核取方塊。
  4. 點擊 確定,然後重新開啟 Cascade 檔案。
Screenshot of the Properties window.
內容視窗

如果您是從電子郵件開啟 Cascade,Excel 可能會顯示紅色安全風險橫幅。解決方法是將 Cascade 檔案儲存到您的電腦,然後依照前述步驟解除封鎖該檔案。

Screenshot of the Security Risk banner.
安全風險橫幅

如果上述方法均無法解決您的問題,您可能需要修改 Excel 信任中心的設定。

  1. 在 Excel 中,從 檔案 功能表選擇 選項,開啟 Excel 選項視窗。
  2. 在 Excel 選項視窗的左下角,選擇 信任中心,然後點擊 信任中心設定

    Screenshot of the Excel Options window.
    Excel 選項視窗
  3. 在信任中心視窗左側,選擇 巨集設定,然後選擇 停用 VBA 巨集並通知

    Screenshot of the Trust Center window.
    信任中心視窗
  4. 點擊 確定,關閉信任中心及 Excel 選項視窗,然後重新開啟 Cascade 檔案。

Mac

首次在 Mac 開啟 Cascade 時,可能會出現巨集警告視窗,提示檔案包含巨集。點擊 啟用巨集

Screenshot of the Macros Warning window.
巨集警告視窗
這篇文章是否有幫助?
0 人中有 0 人覺得有幫助