Cannot disable [Export to Excel] feature

%3CLINGO-SUB%20id%3D%22lingo-sub-136803%22%20slang%3D%22en-US%22%3ECannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-136803%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20donot%20want%20user%20that%20can%20use%20%5BExport%20to%20Excel%5D%20feature.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20997px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25547i7B01CC392003CBDD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%221.png%22%20title%3D%221.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20think%20I%20should%20uncheck%20the%20following%20permission.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25549i622A3AE73C725957%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%222.png%22%20title%3D%222.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBut%20in%20my%20site%20although%20I%20have%20disabled%20the%20Client%20Integration%20features.%3C%2FP%3E%0A%3CP%3EThe%20user%20still%20can%20use%20%26nbsp%3B%5BExport%20to%20Excel%5D%20feature.%3C%2FP%3E%0A%3CP%3EI%20have%20check%20the%20user's%20permission%20there%20is%20no%20problem.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20someone%20tell%20me%20except%20permission%20problem%20what's%20the%20other%20reason%20can%20cause%20this%20situation.%3C%2FP%3E%0A%3CP%3E%26nbsp%3BAny%20help%20will%20be%20appreciate...%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3EThanks!%3C%2FP%3E%0A%3CP%3ETobey.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-136803%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-293924%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-293924%22%20slang%3D%22en-US%22%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F61094%22%20target%3D%22_blank%22%3E%40Tobey%20Davies%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3E%3CP%3EThank%20you%20for%20your%20response!%20It's%20SPO.%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3CBR%20%2F%3EHi%20Tobey%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECreate%20a%20custom%20permission%20level%20with%20required%20list%20permissions.%20Under%20%22Site%20Permissions%22%20disable%20the%20following%20options%3A%3C%2FP%3E%3CP%3Ea)%26nbsp%3BUse%20Remote%20Interfaces%20-%20Use%20SOAP%2C%20Web%20DAV%2C%20the%20Client%20Object%20Model%20or%20SharePoint%20Designer%20interfaces%20to%20access%20the%20Web%20site.%3CBR%20%2F%3Eb)%26nbsp%3BUse%20Client%20Integration%20Features%20-%20Use%20features%20which%20launch%20client%20applications.%20Without%20this%20permission%2C%20users%20will%20have%20to%20work%20on%20documents%20locally%20and%20upload%20their%20changes.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAssign%20this%20custom%20permission%20to%20the%20group%20which%20does%20not%20require%20%22Export%20to%20Excel%22%20option.%3C%2FP%3E%3CP%3EFor%20the%20list%20or%20library%20go%20to%20%26gt%3B%20Library%20Settings%20%26gt%3B%20Advanced%20Settings%20%26gt%3B%26nbsp%3BDisplay%20this%20list%20using%20the%20new%20or%20classic%20experience%3F%20-%20select%20Classic%20experience.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEven%20with%20custom%20permissions%2C%20the%20new%20experience%20has%20an%20option%20%22Export%20to%20Excel%22%20enabled.%20Hence%20the%20above%20step%20in%20Library%20settings.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBy%20the%20way%2C%20this%20also%20disables%2C%20%22Open%20with%20Explorer%22%20option.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETrust%20this%20helps%3C%2FP%3E%3CDIV%20class%3D%22ms-core-overlay%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-202639%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-202639%22%20slang%3D%22en-US%22%3E%3CP%3EYes%20should%20work%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-202636%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-202636%22%20slang%3D%22en-US%22%3E%3CP%3EShould%20this%20work%20for%20sharepoint%20online%20as%20well%3F%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-202608%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-202608%22%20slang%3D%22en-US%22%3E%3CP%3EDid%20you%20guys%20try%20this%20option%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.sharepointindepth.com%2Fhide-remove-the-export-to-excel-button%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.sharepointindepth.com%2Fhide-remove-the-export-to-excel-button%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-202598%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-202598%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Tobey%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20facing%20the%20same%20problem.%20Were%20you%20able%20to%20find%20a%20solution%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-137561%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-137561%22%20slang%3D%22en-US%22%3E%3CP%3EPermission%20can%20control%20Export%20to%20Excel%20feature.%3CBR%20%2F%3EI%20have%20found%20this%20is%20Limited%20Access's%20problem...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-136928%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-136928%22%20slang%3D%22en-US%22%3EMmm...well%2C%20by%20using%20permissions%20you%20cannot%20enable%20%2F%20disable%20the%20Export%20to%20Excel%20option.%20The%20only%20option%20to%20disable%20the%20option%20is%20by%20means%20of%20some%20programming%20so%20you%20can%20program%20a%20piece%20of%20code%20that%20disable%20the%20option%20for%20this%20library%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-136820%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-136820%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20your%20response!%20It's%20SPO.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-136816%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-136816%22%20slang%3D%22en-US%22%3EIs%20this%20SPO%20or%20SP%20OnPrem%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1903373%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1903373%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F238248%22%20target%3D%22_blank%22%3E%40Sundar%20Arunachalam%3C%2FA%3E%26nbsp%3BI%20tried%20this%20today%20(SP%20Online)%2C%20and%20when%20I%20tested%2C%20I%20couldn't%20get%20to%20the%20list%20at%20all.%20Site-yes%2C%20list-no.%20I%20tried%20again%2C%20re-enabling%20%22Use%20Remote%20Interfaces%2C%22%20but%20I%20still%20couldn't%20access%20the%20list.%20I%20see%20that%20I%20can't%20select%20only%20%22%3CSPAN%3EUse%20Client%20Integration%20Features%22%20because%20when%20I%20deselect%20%22Use%20Remote%20Interfaces%2C%22%20%22Use%20Client%20Integration%20Features%22%20automatically%20deselects%20as%20well.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20realize%20this%20conversation%20took%20place%20a%20couple%20of%20years%20ago%2C%20but%20if%20you%20have%20any%20additional%20suggestions%2C%20I'd%20really%20appreciate%20it.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1903385%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1903385%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F238248%22%20target%3D%22_blank%22%3E%40Sundar%20Arunachalam%3C%2FA%3E%26nbsp%3BI%20tried%20this%20today%2C%20and%20when%20I%20tested%2C%20I%20couldn't%20get%20to%20the%20list%20at%20all.%20Site-yes%2C%20list-no.%20I%20tried%20again%2C%20re-enabling%20%22Use%20Remote%20Interfaces%2C%22%20but%20I%20still%20couldn't%20access%20the%20list.%20I%20see%20that%20I%20can't%20select%20only%20%22%3CSPAN%3EUse%20Client%20Integration%20Features%22%20because%20when%20I%20deselect%20%22Use%20Remote%20Interfaces%2C%22%20%22Use%20Client%20Integration%20Features%22%20automatically%20deselects%20as%20well.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20realize%20this%20conversation%20took%20place%20a%20couple%20of%20years%20ago%2C%20but%20if%20you%20have%20any%20additional%20suggestions%2C%20I'd%20really%20appreciate%20it.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1903453%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20disable%20%5BExport%20to%20Excel%5D%20feature%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1903453%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F238248%22%20target%3D%22_blank%22%3E%40Sundar%20Arunachalam%3C%2FA%3E%26nbsp%3BI%20think%20I%20figured%20this%20out!%3C%2FP%3E%3COL%3E%3CLI%3EI%20created%20a%20new%20permission%20level%2C%20following%20the%20steps%20in%20your%20post%20and%20called%20it%20Read%20Only%20-%20No%20Download.%3C%2FLI%3E%3CLI%3EFor%20our%20site%2C%20everyone%20who%20has%20access%20to%20the%20site%20is%20in%20the%20Visitors%20group.%20I%20created%20a%20new%20SP%20group%20called%20Visitors%20-%20No%20Download%20and%20assigned%20it%20the%20new%20Read%20Only%20-%20No%20Download%20permission%20level.%3C%2FLI%3E%3CLI%3EI%20copied%20all%20of%20the%20names%20from%20the%20Visitors%20group%20to%20the%20Visitors%20-%20No%20Download%20group%20(so%20everyone%20is%20in%20both%20groups).%3C%2FLI%3E%3CLI%3EI%20went%20to%20the%20permissions%20for%20the%20LIST%2C%20broke%20inheritance%2C%20and%20removed%20the%20Visitors%20group.%20So%20the%20new%20Visitors%20-%20No%20Download%20group%20has%20access%20to%20the%20list%2C%20but%20the%20Visitors%20group%20does%20not.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSTRONG%3EResult%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3EMy%20name%20is%20in%20BOTH%20groups.%3C%2FLI%3E%3CLI%3EWhen%20I%20tested%2C%20I%20COULD%20get%20to%20the%20list%2C%20and%20the%20Export%20to%20Excel%20command%20is%20NOT%20on%20the%20Command%20bar%20on%20the%20list%20page%20(see%20attached%20graphic).%3C%2FLI%3E%3C%2FUL%3E%3CP%3EIf%20I%20find%20out%20anything%20else%20of%20interest%2C%20or%20if%20I%20find%20that%20this%20is%20somehow%20not%20working%2C%20I'll%20reply%20again.%20Thanks%20for%20your%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi everyone

 

I donot want user that can use [Export to Excel] feature.

 1.png

 

I think I should uncheck the following permission.

 2.png

 

But in my site although I have disabled the Client Integration features.

The user still can use  [Export to Excel] feature.

I have check the user's permission there is no problem.

 

Can someone tell me except permission problem what's the other reason can cause this situation.

 Any help will be appreciate...

Thanks!

Tobey.

11 Replies
Is this SPO or SP OnPrem?

Thank you for your response! It's SPO.

Mmm...well, by using permissions you cannot enable / disable the Export to Excel option. The only option to disable the option is by means of some programming so you can program a piece of code that disable the option for this library

Permission can control Export to Excel feature.
I have found this is Limited Access's problem...

Hello Tobey,

 

I am facing the same problem. Were you able to find a solution?

Should this work for sharepoint online as well?



 

Yes should work


@Tobey Davies wrote:

Thank you for your response! It's SPO.



Hi Tobey,

 

Create a custom permission level with required list permissions. Under "Site Permissions" disable the following options:

a) Use Remote Interfaces - Use SOAP, Web DAV, the Client Object Model or SharePoint Designer interfaces to access the Web site.
b) Use Client Integration Features - Use features which launch client applications. Without this permission, users will have to work on documents locally and upload their changes.

 

Assign this custom permission to the group which does not require "Export to Excel" option.

For the list or library go to > Library Settings > Advanced Settings > Display this list using the new or classic experience? - select Classic experience.

 

Even with custom permissions, the new experience has an option "Export to Excel" enabled. Hence the above step in Library settings.

 

By the way, this also disables, "Open with Explorer" option.

 

Trust this helps

 

@Sundar Arunachalam I tried this today (SP Online), and when I tested, I couldn't get to the list at all. Site-yes, list-no. I tried again, re-enabling "Use Remote Interfaces," but I still couldn't access the list. I see that I can't select only "Use Client Integration Features" because when I deselect "Use Remote Interfaces," "Use Client Integration Features" automatically deselects as well.

 

I realize this conversation took place a couple of years ago, but if you have any additional suggestions, I'd really appreciate it.

@Sundar Arunachalam I think I figured this out!

  1. I created a new permission level, following the steps in your post and called it Read Only - No Download.
  2. For our site, everyone who has access to the site is in the Visitors group. I created a new SP group called Visitors - No Download and assigned it the new Read Only - No Download permission level.
  3. I copied all of the names from the Visitors group to the Visitors - No Download group (so everyone is in both groups).
  4. I went to the permissions for the LIST, broke inheritance, and removed the Visitors group. So the new Visitors - No Download group has access to the list, but the Visitors group does not.

Result:

  • My name is in BOTH groups.
  • When I tested, I COULD get to the list, and the Export to Excel command is NOT on the Command bar on the list page (see attached graphic).

If I find out anything else of interest, or if I find that this is somehow not working, I'll reply again. Thanks for your help!