A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
According to your concern, Egnyte is a cloud-based platform and files downloaded from there are automatically marked with Mark of the Web by Windows.
The previous response by Q&A Assist does provide basic troubleshooting steps for unblocking macros and I suggest you can try them to see if it helps. The guideline I provide below will have some steps as same as the previous reply but with some more detailed explanation: (Note: You need to do these steps in your personal/local device which has problem with blocking macros)
1- Remove the Mark of the Web (MOTW)
- Open File Explorer, navigate to your Excel 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.
If the "Unlock" 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"
2- Double check whether the file location is configured as a trusted location
- Open Excel and go to File > Options > Trust Center > Trust Center Settings
- Select Trusted Locations in the left bane > double check whether you add the file path as a trusted location
- If not, select Add new location > Browse and navigate to the folder where you keep the files need to enable macro
- Press OK to close all the dialog boxes then try opening your macro-enabled excel file again
3- Enable macros in Excel
You can also adjust the trust center settings for macros by
- Go to File > Options > Trust Center > Trust Center Settings
- Click Macro Settings and "Enable VBA macros" (only if you're sure the file is safe)
- Then click OK to save the settings
For better visualization about the previous steps, you can watch this video Unblock macros downloaded from the internet | Excel Off The Grid | Microsoft macro security changes…
(Note: This link is shared by community members for your convenience. It points to a third-party site that is not managed or verified by Microsoft. We can’t guarantee the quality, safety, or suitability of any content or software found there. Please review carefully and make sure you understand any potential risks before using it.)
4- Configure Egnyte as Trusted Site for future files
- Open Control Panel > Network and Internet > Internet Options
- In Internet Properties, go to Security tab > select Trusted sites > Sites
- Add Egnyte URL into the bar > Add > Close > OK
- When configured as trusted sites, macros won't be blocked in files from these locations.
Please understand that my initial response does not always resolve the issue immediately. However, you can try these steps and let me know if it works for you. If not, we can work together to find a solution.
If you have any questions or need further assistance, please feel free to share them in the comments on this post so I can continue to support you.
Thank you for your understanding and cooperation. I'm looking forward to your reply.
If the answer is helpful, please click "Accept Answer" and kindly upvote it.
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