Hello,
The behavior you're seeing where Word works but Excel does not might be due to several factors.
Here are a few things to consider and try:
- Excel’s Limitation
Excel has been historically more restrictive when it comes to file path lengths compared to Word. Even with in the registry, some versions of Excel may still not fully support paths longer than 256 characters, especially when dealing with complex directory structures or network paths.
- GPO Icon with Arrow
The GPO icon with the down arrow typically indicates that the policy is not applied via domain-level Group Policy but is being set manually or locally. In your case, this might mean that while the registry key is being applied locally, it may not be recognized by Excel or might not be fully respected in all situations, depending on how Excel and other Office apps are configured.
- Check for Office Settings
Microsoft Office apps, including Excel, sometimes have additional internal settings that could impact file path handling. You might want to check if there are specific settings in the Office Deployment Tool (ODT) or Group Policy for Office that could be overriding or interacting with the Windows-level long path setting.
- Microsoft OneDrive Sync and SPO
Since you mentioned OneDrive and SharePoint Online (SPO), it’s worth noting that OneDrive’s file sync client also has its own set of limitations and settings that could interfere with long path support, especially in combination with Excel. OneDrive often uses a "localized" or shortened path for syncing files that are too long, but if Excel is not handling these paths correctly, it might fail to open or save files with long paths.
Try disabling OneDrive sync temporarily and see if Excel handles the long paths correctly in isolation.
Also, ensure OneDrive’s latest version is installed, as older versions of the OneDrive client might have issues with longer paths.
I hope the information above is helpful.
Best Regards,
Yanhong
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.