Share via


WebOptions.UseLongFileNames Property

PowerPoint Developer Reference

Determines whether long file names are used in the active presentation. Read/write.

Syntax

expression.UseLongFileNames

expression   A variable that represents a WebOptions object.

Return Value
MsoTriState

Remarks

The value of the UseLongFileNames property can be one of these MsoTriState constants.

Constant Description
msoFalse Long file names are not used and the DOS file name format (8.3) is used.
msoTrue The default. Long file names are used when you save or publish a complete or partial presentation as a Web page.

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

Example

This example disallows the use of long file names in the active presentation.

Visual Basic for Applications
  ActivePresentation.WebOptions.UseLongFileNames = msoFalse

See Also