Office Settings & Configuration

How to Stop Excel Hyperlink Warnings for a Trusted OneDrive Folder

Algirdas JasaitisAlgirdas Jasaitis Oct 22, 2026 868 views

Question details

The user wants to prevent Excel from displaying security warnings when clicking hyperlinks that point to files stored in a trusted local OneDrive folder.

How to Stop Excel Hyperlink Warnings for a Trusted OneDrive Folder
Product
Microsoft Excel
Device & OS
Windows
Scenario
Opening hyperlinks in an Excel spreadsheet that link to other files located in a local OneDrive directory.
Observed behavior
Excel continues to show a security warning prompt when clicking the hyperlink, even after the OneDrive folder has been added to the Trust Center's trusted locations.
Before you start

Ensure you have administrative privileges on your computer, and strictly back up your Windows Registry before making any system-level changes to Office policies.

Solution 1Recommended

Verify and Update Excel Trust Center Locations

Ensure the exact local path of the OneDrive folder is recognized by Excel's Trust Center, rather than a cloud URI.

Cloud-synced folders can sometimes trigger warnings if Excel interprets the hyperlink as an internet address rather than a local file path. Adding the exact local directory usually resolves this.

1
Open Excel Options

Launch Microsoft Excel, click on the 'File' tab in the top-left corner, and select 'Options' at the bottom of the menu.

2
Access the Trust Center

In the Excel Options window, click on 'Trust Center' in the left pane, then click the 'Trust Center Settings' button.

3
Add Trusted Location

Navigate to 'Trusted Locations' on the left. Click 'Add new location', browse to the exact local path of your OneDrive folder (e.g., C:\Users\[YourName]\OneDrive), and check the box that says 'Subfolders of this location are also trusted'.

4
Save and Restart

Click 'OK' to save the settings, close all dialog boxes, and restart Microsoft Excel to see if the hyperlink warning is removed.

Verify and Update Excel Trust Center Locations
Path Accuracy: Make sure your hyperlinks in the spreadsheet are pointing to the local C: drive path, not the HTTPS SharePoint or web version of the OneDrive link.
Free Microsoft Office alternative

Experience Hassle-Free Spreadsheets with WPS Office

If persistent security warnings and complex registry configurations in Microsoft Excel disrupt your workflow, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with intuitive security settings out of the box.

  1. 1. Download the Installer: Visit the official WPS Office website and click 'Download' to get the free installer.
  2. 2. Install WPS Office: Run the installer and follow the on-screen prompts to set up the software on your Windows PC.
  3. 3. Open Your Spreadsheets: Launch WPS Spreadsheets, open your existing .xlsx files, and enjoy smooth hyperlink navigation without intrusive security prompts.
Seamlessly compatible with Microsoft Excel (.xlsx) formats and hyperlinksLightweight installation with no complex registry edits requiredIntuitive and easy-to-use interface familiar to MS Office usersFree to download and use for all your spreadsheet and document needs
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel show a security warning for hyperlinks?

Excel triggers security warnings for hyperlinks as a safety measure to protect your computer from potentially malicious files, executable scripts, or unsafe web addresses, especially if the target location is not explicitly trusted.

Can I disable hyperlink warnings for specific files only?

No, the registry fix disables the warning globally for the Office application. Using the Trust Center to add specific 'Trusted Locations' is the best way to target specific folders without turning off the warning entirely for the whole application.

Why aren't my OneDrive folders recognized as trusted locations?

Cloud-synced folders can sometimes resolve to internet zones instead of local paths in Microsoft Office. Ensure you are selecting the exact local file path (e.g., C:\Users\[Username]\OneDrive) in the Trust Center and verify that your hyperlinks point to this local drive path, not the SharePoint web URL.