145 Character File Path/Name fails to save in Onedrive from Excel

%3CLINGO-SUB%20id%3D%22lingo-sub-756779%22%20slang%3D%22en-US%22%3E145%20Character%20File%20Path%2FName%20fails%20to%20save%20in%20Onedrive%20from%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-756779%22%20slang%3D%22en-US%22%3E%3CP%3EWhy%20is%20it%20that%20a%20simple%20file%20path%2Fname%2C%20that%20is%20145%20characters%20long%20refuses%20to%20save%20from%20Excel%3F%26nbsp%3B%20Seriously%2C%20this%20is%202019%2C%20why%20is%20there%20such%20a%20small%20limit%20for%20file%20path%2Fname%3F%26nbsp%3B%20I've%20recently%20moved%20all%20my%20files%20from%20a%20networked%20drive%2C%20to%20OneDrive%20and%20it's%20causing%20me%20constant%20issues..%3C%2FP%3E%3CP%3EI%20find%20myself%2C%20copying%20files%20then%20renaming%20them%2C%20then%20opening%20them.%26nbsp%3B%20Or%20if%20it's%20new%2C%20I'll%20create%20it%20in%20the%20root%2C%20then%20move%20and%20rename%20it%20outside%20of%20Excel.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20resolve%20this%20crazyness!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-756779%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELimits%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-756907%22%20slang%3D%22en-US%22%3ERe%3A%20145%20Character%20File%20Path%2FName%20fails%20to%20save%20in%20Onedrive%20from%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-756907%22%20slang%3D%22en-US%22%3EAre%20you%20storing%20the%20file%20in%20a%20folder%20hyerarchy%3F%20I'm%20asking%20this%20because%20ODFB%20y%20SPO%20support%20400%20path%20length%20so%20a%20file%20name%20with%20145%20characters%20should%20be%20fine%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-756975%22%20slang%3D%22en-US%22%3ERe%3A%20145%20Character%20File%20Path%2FName%20fails%20to%20save%20in%20Onedrive%20from%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-756975%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BComplete%20File%2FPath%20is%20145%20characters%2C%20including%20spaces%20and%20back-slashes%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EC%3A%5CUsers%5CUserXMdomt%5COneDrive%20-%20orgNme%5CA%20-%20DEPARTMENTS%5CMARKETING%5CAgtenaghn%20Listings%5C1%20-%20Agtenaghn%20Source%20Data%20Generation%5C2019%2007%20-%20Data%20Generation%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20strange%2C%20as%20I%20can%20open%20the%20same%20files%20and%20I%20can%20save%20them.%26nbsp%3B%20Just%20can't%20create%20them%20with%20SAVE%20AS%20within%20Excel.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-757892%22%20slang%3D%22en-US%22%3ERe%3A%20145%20Character%20File%20Path%2FName%20fails%20to%20save%20in%20Onedrive%20from%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-757892%22%20slang%3D%22en-US%22%3EThe%20400%20path%20limit%20is%20when%20you%20open%2Fsave%20file%20from%20OneDrive%20web%20URL.%20For%20example%20go%20to%20Office.com%2FOneDrive%20and%20open%20file%20in%20windows%20client%20by%20passing%20trough%20the%20web%20interface.%3CBR%20%2F%3E%3CBR%20%2F%3EBut%20if%20you%20try%20to%20save%20or%20open%20file%20synced%20locally%20you%20are%20limited%20to%20windows%20apps%20limitation%20256%20characters%20and%20in%20Excel%20it%E2%80%99s%20218.%20Starting%20that%20point%20you%20will%20start%20have%20different%20type%20of%20issues.%3CBR%20%2F%3E%3CBR%20%2F%3EBased%20on%20that%20I%20can%E2%80%99t%20say%20why%20you%E2%80%99re%20having%20trouble%20with%20a%20145%20total%20path%20length%20file.%3CBR%20%2F%3E%3CBR%20%2F%3EMS%20has%20confirm%20they%20are%20working%20on%20this%20in%20February%202019.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fexcel.uservoice.com%2Fforums%2F304921-excel-for-windows-desktop-application%2Fsuggestions%2F10733559-increase-the-218-character-filename-length-limit-t%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fexcel.uservoice.com%2Fforums%2F304921-excel-for-windows-desktop-application%2Fsuggestions%2F10733559-increase-the-218-character-filename-length-limit-t%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EReference%20218%20limit%20still%20exist%20in%20excel%202016%20and%20Office%20365%20current%20semi%20annual%20version%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F325573%2Fyou-receive-error-messages-when-you-try-to-open-an-office-document%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F325573%2Fyou-receive-error-messages-when-you-try-to-open-an-office-document%3C%2FA%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Why is it that a simple file path/name, that is 145 characters long refuses to save from Excel?  Seriously, this is 2019, why is there such a small limit for file path/name?  I've recently moved all my files from a networked drive, to OneDrive and it's causing me constant issues..

I find myself, copying files then renaming them, then opening them.  Or if it's new, I'll create it in the root, then move and rename it outside of Excel.  

Please resolve this crazyness!

3 Replies
Highlighted
Are you storing the file in a folder hyerarchy? I'm asking this because ODFB y SPO support 400 path length so a file name with 145 characters should be fine

@Juan Carlos González Martín   Complete File/Path is 145 characters, including spaces and back-slashes:

 

C:\Users\UserXMdomt\OneDrive - orgNme\A - DEPARTMENTS\MARKETING\Agtenaghn Listings\1 - Agtenaghn Source Data Generation\2019 07 - Data Generation

 

It's strange, as I can open the same files and I can save them.  Just can't create them with SAVE AS within Excel.

Highlighted
The 400 path limit is when you open/save file from OneDrive web URL. For example go to Office.com/OneDrive and open file in windows client by passing trough the web interface.

But if you try to save or open file synced locally you are limited to windows apps limitation 256 characters and in Excel it’s 218. Starting that point you will start have different type of issues.

Based on that I can’t say why you’re having trouble with a 145 total path length file.

MS has confirm they are working on this in February 2019.
https://excel.uservoice.com/forums/304921-excel-for-windows-desktop-application/suggestions/10733559...

Reference 218 limit still exist in excel 2016 and Office 365 current semi annual version
https://support.microsoft.com/en-us/help/325573/you-receive-error-messages-when-you-try-to-open-an-o...