Share via


The length of the full path of the Office document exceeds the maximum path length allowed

The full path of the Microsoft Office document includes the drive letter or server name, and all characters and folder names up to and including the name of the document. The entire path cannot be longer than 242 characters in Word, or 218 in Excel.

To correct this error

  • Make the complete path to the document shorter by saving it in a location that has fewer nested folders, or by shortening the file name of the document.

See Also

Tasks

How to: Create Visual Studio Tools for Office Projects