Export (0) Print
Expand All

Removing Excel Interactive View from a webpage

SharePoint 2013

Last modified: January 19, 2015

Applies to: SharePoint Server 2013

The Excel Interactive View feature has been disabled. If you have inserted an Excel Interactive View into your web page, you can remove it by removing the <script> tag and the placeholder <a> tags for the button from the HTML of your web page.

To remove the <script> tag, search for and delete the following HTML.

<script src="http://r.office.microsoft.com/r/rlidExcelButton?v=1&amp;kip=1" type="text/javascript"></script>

To remove the placeholder <a> tags, find <a> tags that are located directly before any <table> elements in your HTML. Because <a> tags are customizable, parse your HTML for the first part of the string to find all the instances of the button.

<a href="#" name="MicrosoftExcelButton" data-xl-tableTitle="" data-xl-buttonStyle="Standard" data-xl-fileName="Book1" data-xl-attribution="" ></a>

We encourage you to embed Excel into your web pages as an alternative.

Show:
© 2015 Microsoft