How to disable warning in Excel while opening hyperlink

Anonymous
2018-12-28T08:12:07+00:00

Hello,

  Every time when User trying to open hyperlink located in Excel file below error message.

Hyperlink is pointing to PDF file located in user OneDrive.

Tried various solutions from google - without luck. Any advise?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Anonymous
    2018-12-28T10:04:33+00:00

    Hi Marek1991,

    I upload a PDF file into OneDrive and copy/paste the link into Excel workbook. After that, I can open that PDF file directly via clicking the link.

    To disable “Hyperlinks can be harmful to your computer and data” when your user click the link of the file located on his OneDrive, I’d like to suggest you let your user add the URL of the file’s location into Excel’s Trusted Locations to see the outcome:

    1. Copy the URL of OneDrive. (Https://tenant name-my.sharepoint.com)
    2. Move to Excel>File>Options>Trust Center>Trusted Locations.
    3. Check the option ”Allow Trusted Locations on my network (not recommended)”>Click OK.
    4. Click Add new location>Paste the URL from step one.
    5. Click OK, close all windows and reopen the workbook to see the outcome.

    If you still meet the prompt info, to have a better understanding of your user's scenario and help him disable this prompt info, please share with me more info as below:

    1. Detailed steps about how does your user get the link of the PDF file located on his OneDrive?
    2. Where the workbook located?
    3. Does your user meet security prompt info when he adds some links of other PDFs and other types of files?

    Regards,

    Neo

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2018-12-28T13:52:38+00:00

    Dear Neo,

     I have tried suggested solution - without luck. Regarding your questions:

    1. Detailed steps about how does your user get the link of the PDF file located on his OneDrive?

    User is receiving package with .xlsm file and pdf files located next to it in folder. Inside of this excel file there are hyperlinks created with function =Hyperlink ( Exmaple: =HYPERLINK($AJ$7 & $AK$7 & "filename.pdf","91010")

    2. Where the workbook located?

    In OneDrive for Business folder: C:\Users<username>\OneDrive - Company name\

    3. Does your user meet security prompt info when he adds some links of other PDFs and other types of files?

    if excel file and pdfs are outside OneDrive folder - everything works fine.

    Best Regards,

    Marek

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2018-12-29T10:53:19+00:00

    Hi Marek1991,

    Thanks for your reply, to disable that prompt info, I'd like to refer suggestions in this thread. If this prompt info still exists, I'd like to suggest you check this article to disable this prompt info via Registry Editor.

    WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Edit at your own risk. 

    Please have a try and share with me your result.

    Regards,

    Neo

    0 comments No comments
  4. Anonymous
    2019-01-02T03:11:33+00:00

    Hi Marek1991,

    Does the hyperlink security prompt info still exist? Please post back if you still need any help.

    Regards,

    Neo

    0 comments No comments
  5. Anonymous
    2019-01-02T14:57:07+00:00

    Hi Marek1991,

    Does the hyperlink security prompt info still exist? Please post back if you still need any help.

    Regards,

    Neo

    Hello Neo,

     I have checked mentioned solutions and did not work. ( I'm working  Windows10 Enterprise and Office 365 ). Any other idea?

    Best Regards,

    Marek

    0 comments No comments