Problem enabling macros in Excel

Kris Turner 0 Reputation points
2026-07-14T21:09:41.9466667+00:00

I need to access files in Dropbox that have macros enabled. I have went to the trust center in Excel and made the filepath to Dropbox a trusted location however it still does not work. Everything I see online just points me back in this same direction and it won't work, so any other ideas would be great.

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. Kristen-L 14,740 Reputation points Microsoft External Staff Moderator
    2026-07-14T21:29:28.9766667+00:00

    Hi Kris

    Thank you for reaching out.

    If you've already added your Dropbox folder as a Trusted Location in Excel and macros still won't run, please make sure you are opening a local, fully downloaded copy of the workbook. If the file is still stored only in the cloud (online-only), Excel may not be able to trust or access it correctly for macro execution.

    To ensure the file is available locally:

    • Open your Dropbox folder in File Explorer.
    • Locate the workbook.
    • Right-click the file and select Make available offline (or the equivalent Dropbox sync option).
    • Wait until the file shows as fully synchronized and available on your device.

    Next, check whether the file is blocked by Windows:

    • Open File Explorer, navigate to your Word file that you need to enable macros
    • Right click on it and choose Properties
    • In General tab, check the Unblock box for the Security option.

     

    User's image

     

    If the "Unblock" checkbox isn't available, you can use PowerShell to unlock your file's macro (if your device has permission to use PowerShell):

    • In the search bar, type PowerShell and select "Run as administrator."
    • Then, paste this script into PowerShell > Enter to unlock your file:
      Unblock-File -Path "C:\Path\YourFile.xlsm"
    
    • If you don't know your file path, you can open File Explorer > navigate to the folder you store the file > select the file and right-click > Copy as Path (or use short-cut Ctrl+Shift+C) > paste it to replace the "C:\Path\YourFile.xlsm" part.

    User's image

    I hope this information is helpful. If the issue persists and macros are still being blocked, please share any error messages or security warnings you receive, and I'll be glad to investigate further.

    Thank you for your understanding.


    If the answer is helpful, please click "Yes". If you have extra questions about this answer, please click "Comment".     

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.