Syntax

expression.UseLongFileNames

expression A variable that represents a WebOptions object.

Remarks

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 property to determine whether supporting files are organized in a separate folder.

Example

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

Visual Basic for Applications
Application.DefaultWebOptions.UseLongFileNames = False 

See also: