Disable the "Do you want to open this file?" warning message on SharePoint

New Contributor

Hello,

 

I have added a button to a SharePoint page that opens an Excel file in the Excel application when you click the button. Note that it is important it opens this file in the Excel application, and not in the web browser. 

 

However, when I do this, I get a warning message that asks "Do you want to open this file?". Is there a way of disabling this warning message just for that SharePoint page, or particular file/button please? (rather than change the security settings for all SharePoint sites I use). 

 

Thanks in advance for any support with this. 

Kind regards,

Lee

0 Replies