WebOptions.UseLongFileNames property (Excel)

True if long file names are used when you save the document as a webpage. False if long file names are not used and the DOS file name format (8.3) is used. The default value is True. Read/write Boolean.



expression A variable that represents a WebOptions object.


If you don't use long file names and your document has supporting files, Microsoft Excel automatically organizes those files in a separate folder. Otherwise, use the OrganizeInFolder property to determine whether supporting files are organized in a separate folder.


This example disallows the use of long file names as the global default for the application.

Application.DefaultWebOptions.UseLongFileNames = False 

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.