Home

Open in Excel from Teams - Error: File Corrupt

%3CLINGO-SUB%20id%3D%22lingo-sub-201348%22%20slang%3D%22en-US%22%3EOpen%20in%20Excel%20from%20Teams%20-%20Error%3A%20File%20Corrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201348%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20a%20long-standing%20issue%20that%20is%20manifesting%20itself%20via%20Teams%20much%20more%20frequently.%26nbsp%3B%20I%20have%20found%20a%20ton%20of%20info%20online%20related%20to%20the%20opening%20of%20Excel%20files%20from%20Network%20locations%2C%20and%20have%20tried%20everything%20I%20can%20get%20my%20hands%20on%20to%20no%20avail.%3CBR%20%2F%3E%3CBR%20%2F%3EScenario%3A%26nbsp%3B%20Excel%20Spreadsheets%20in%20the%20FILE%20folder%20of%20Teams.%3CBR%20%2F%3EUser%20has%20a%20file%20called%20May%20Metrics.%26nbsp%3B%20They%20need%20to%20create%20June%20Metrics.%26nbsp%3B%20So%20they%20open%20May%20Metrics%20and%20make%20all%20the%20changes%20necessary%20inputting%20the%20new%20metrics.%26nbsp%3B%20Then%20they%20save%20it%20as%20JUNE%20METRICS.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3ENow%20when%20another%20user%20tries%20to%20open%20that%20file%2C%20it%20will%20say%20that%20it%20is%20corrupt%2C%20try%20to%20repair%2C%20and%20fail%20because%20it%20cannot%20find%20the%20file%20in%20%25appdata%25%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAt%20this%20point%2C%20the%20user%20can%20save%20the%20file%20locally%2C%20open%20it%20as%20expected%2C%20then%20upload%20it%20back%20to%20Teams.%26nbsp%3B%20Not%20acceptable%20to%20the%20users%20as%20it%20adds%20a%20significant%20amount%20of%20time%20and%20steps%20to%20the%20workflow.%26nbsp%3B%26nbsp%3B%20This%20DID%20occasionally%20happen%20to%20the%20users%20when%20using%20a%20file%20share%20as%20well%2C%20and%20the%20same%20workaround%20was%20used.%26nbsp%3B%20Copy%20locally%2C%20then%20move%20back.%26nbsp%3B%20However%2C%20that%20workaround%20was%20a%20tad%20easier%20and%20quicker%20when%20using%20a%20file%20share.%26nbsp%3B%20Not%20being%20able%20to%20drag%20and%20drop%20from%20Teams%20makes%20that%20more%20cumbersome.%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20appears%20that%20if%20they%20FIRST%20make%20a%20copy%20of%20the%20MAY%20METRICS%2C%20rename%20it%20to%20JUNE%20METRICS%20and%20then%20edit%20the%20copy%2C%20it%20will%20work.%26nbsp%3B%20That%20is%20rather%20confusing%20to%20me%2C%20but%20it%20does%20seem%20to%20be%20a%20workaround.%3CBR%20%2F%3E%3CBR%20%2F%3ESolving%20the%20root%20problem%20is%20really%20what%20I%20would%20like%20to%20do.%26nbsp%3B%20It%20just%20so%20happens%20that%20Teams%20makes%20the%20problem%20show%20up%20more%20frequently.%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20it%20seems%20apparent%20that%20this%20only%20comes%20into%20play%20when%20a%20file%20is%20NOT%20local.%26nbsp%3B%20Searching%20reveals%20a%20number%20of%20reasons%20for%20that.%26nbsp%3B%20Many%20talk%20about%20turning%20OFF%20the%20DDE%2C%20and%20going%20to%20the%20Trust%20Center%20and%20UNCHECKING%20the%20three%20Protected%20View%20settings%20(all%20seemingly%20counterproductive).%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20seen%20the%20suggestions%20to%20go%20to%20Trust%20Center%20and%20turn%20off%20all%20the%20File%20Block%20Settings%20as%20well%20(again%2C%20counterproductive).%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E-%20The%20URL%20is%20added%20to%20the%20Trusted%20Zone.%26nbsp%3B%3C%2FP%3E%3CP%3E-%20I%20tried%20adding%20the%20URL%20to%20Trusted%20Locations%20(including%20subfolders)%20in%20Excel.%3C%2FP%3E%3CP%3E-%20Checked%20the%20%22Allow%20Trusted%20Locations%20on%20my%20network%20(which%20is%20not%20recommended)%3C%2FP%3E%3CP%3E-%20Turned%20off%20DDE%3C%2FP%3E%3CP%3E-%20Turned%20off%20the%20three%20Protected%20Views%20within%20Excel%3CBR%20%2F%3E%3CBR%20%2F%3ENOTES%3A%26nbsp%3B%20We%20can%20save%20the%20file%20locally%2C%20and%20it%20will%20open...but%20that%20isn't%20very%20efficient%20in%20our%20environment%20because%20they%20then%20have%20to%20upload%20it%20BACK%20to%20Teams%20(or%20OneDrive%2C%20or%20SharePoint%2C%20or%20Network%20Share)%20when%20they%20are%20done.%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20seems%20as%20if%20we%20CAN%20open%20it%20from%20Excel%20as%20opposed%20to%20clicking%20on%20the%20file%20itself.%26nbsp%3B%20Again...silly%2C%20but%20it%20does%20seem%20to%20work%20a%20lot%20of%20the%20time.%26nbsp%3B%20You%20have%20to%20then%20go%20through%20some%20dialogue%20boxes%20about%20links%20to%20other%20files%20in%20locations%20it%20cannot%20reach%2C%20but%20ultimately%2C%20you%20can%20get%20the%20file%20open.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20files%20are%20clearly%20NOT%20CORRUPT.%26nbsp%3B%20Maybe%20it%20has%20to%20do%20with%20the%20way%20users%20are%20making%20edits%20in%20some%20way%20that%20references%20a%20local%20location.%26nbsp%3B%20I%20can't%20really%20tell%20for%20sure%20because%20I%20am%20not%20an%20Excel%20Guru.%3CBR%20%2F%3E%3CBR%20%2F%3EWhat%20I%20do%20know%20is%20that%20the%20user%20expectation%20is%20that%20they%20should%20be%20able%20to%20click%20on%20a%20file%20and%20start%20working%20on%20it%20without%20having%20to%20jump%20through%20eleventy-billion%20hoops.%3CBR%20%2F%3E%3CBR%20%2F%3EHas%20anyone%20else%20had%20trouble%20opening%20Excel%20files%20from%20Teams%3F%26nbsp%3B%20I%20can't%20imagine%20we%20are%20the%20only%20ones%20considering%20how%20many%20people%20online%20seem%20to%20experience%20similar%20issues%20with%20Excel%20files%20in%20Network%20locations.%3CBR%20%2F%3E%3CBR%20%2F%3ELastly%2C%20the%20problem%20is%20happening%20to%202013%20and%202016%20users.%26nbsp%3B%20The%20only%20real%20difference%20there%20appears%20to%20be%20that%20each%20version%20provides%20slightly%20different%20dialogue%20when%20the%20file%20opens.%3CBR%20%2F%3E%3CBR%20%2F%3EThoughts%3F%26nbsp%3B%20Ideas%3F%26nbsp%3B%20Job%20references%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-201348%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ecorrupt%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201643%22%20slang%3D%22en-US%22%3ERe%3A%20Open%20in%20Excel%20from%20Teams%20-%20Error%3A%20File%20Corrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201643%22%20slang%3D%22en-US%22%3E%3CP%3EI%20will%20suggest%20you%20to%20rename%20your%20file.%20If%20this%20won't%20work%20then%2C%20remove%20the%20COM-Addins%20from%20your%20Excel.%20To%20do%20so%2C%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3EOpen%20MS%20Excel%26nbsp%3B%3C%2FLI%3E%3CLI%3EGo%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EFile%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3ESelect%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EOptions%3C%2FSTRONG%3E%26nbsp%3B%3C%2FLI%3E%3CLI%3ESelect%20Add-Ins%3C%2FLI%3E%3CLI%3ESelect%20COM%20Add-Ins%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2FForums%2Fgetfile%2F1272226%22%20border%3D%220%22%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3EClick%20GO%3C%2FLI%3E%3CLI%3ESelect%20the%20Add-ins%20which%20you%20want%20to%20delete%26nbsp%3B%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2FForums%2Fgetfile%2F1272227%22%20border%3D%220%22%20alt%3D%22%22%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Todd Purifoy
Contributor

We have a long-standing issue that is manifesting itself via Teams much more frequently.  I have found a ton of info online related to the opening of Excel files from Network locations, and have tried everything I can get my hands on to no avail.

Scenario:  Excel Spreadsheets in the FILE folder of Teams.
User has a file called May Metrics.  They need to create June Metrics.  So they open May Metrics and make all the changes necessary inputting the new metrics.  Then they save it as JUNE METRICS. 

Now when another user tries to open that file, it will say that it is corrupt, try to repair, and fail because it cannot find the file in %appdata%

 

At this point, the user can save the file locally, open it as expected, then upload it back to Teams.  Not acceptable to the users as it adds a significant amount of time and steps to the workflow.   This DID occasionally happen to the users when using a file share as well, and the same workaround was used.  Copy locally, then move back.  However, that workaround was a tad easier and quicker when using a file share.  Not being able to drag and drop from Teams makes that more cumbersome.

It appears that if they FIRST make a copy of the MAY METRICS, rename it to JUNE METRICS and then edit the copy, it will work.  That is rather confusing to me, but it does seem to be a workaround.

Solving the root problem is really what I would like to do.  It just so happens that Teams makes the problem show up more frequently.

So it seems apparent that this only comes into play when a file is NOT local.  Searching reveals a number of reasons for that.  Many talk about turning OFF the DDE, and going to the Trust Center and UNCHECKING the three Protected View settings (all seemingly counterproductive).

I've seen the suggestions to go to Trust Center and turn off all the File Block Settings as well (again, counterproductive).


- The URL is added to the Trusted Zone. 

- I tried adding the URL to Trusted Locations (including subfolders) in Excel.

- Checked the "Allow Trusted Locations on my network (which is not recommended)

- Turned off DDE

- Turned off the three Protected Views within Excel

NOTES:  We can save the file locally, and it will open...but that isn't very efficient in our environment because they then have to upload it BACK to Teams (or OneDrive, or SharePoint, or Network Share) when they are done.

It seems as if we CAN open it from Excel as opposed to clicking on the file itself.  Again...silly, but it does seem to work a lot of the time.  You have to then go through some dialogue boxes about links to other files in locations it cannot reach, but ultimately, you can get the file open.

The files are clearly NOT CORRUPT.  Maybe it has to do with the way users are making edits in some way that references a local location.  I can't really tell for sure because I am not an Excel Guru.

What I do know is that the user expectation is that they should be able to click on a file and start working on it without having to jump through eleventy-billion hoops.

Has anyone else had trouble opening Excel files from Teams?  I can't imagine we are the only ones considering how many people online seem to experience similar issues with Excel files in Network locations.

Lastly, the problem is happening to 2013 and 2016 users.  The only real difference there appears to be that each version provides slightly different dialogue when the file opens.

Thoughts?  Ideas?  Job references?

1 Reply

I will suggest you to rename your file. If this won't work then, remove the COM-Addins from your Excel. To do so, 

  • Open MS Excel 
  • Go to File
  • Select Options 
  • Select Add-Ins
  • Select COM Add-Ins

 

  • Click GO
  • Select the Add-ins which you want to delete 

 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies