Partager via


WebOptions.OrganizeInFolder Property (PowerPoint)

Determines whether all supporting files, such as background textures and graphics, are organized in a separate folder when you save or publish the specified presentation as a Web page. Read/write.

Syntax

expression .OrganizeInFolder

expression A variable that represents a WebOptions object.

Return Value

MsoTriState

Remarks

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

Constant

Description

msoFalse

Supporting files are saved in the same folder as the Web page.

msoTrue

The default. All supporting files, such as background textures and graphics, are organized in a separate folder when you save or publish the specified presentation as a Web page.

The new folder is created within the folder where you have saved the Web page, and is named after the presentation. If the UseLongFileNames property is set to True, a suffix is added to the folder name.

If you save a presentation that was previously saved with the OrganizeInFolder property set to a different value, Microsoft PowerPoint automatically moves the supporting files into or out of the folder as appropriate.

If you don't use long file names (that is, if the UseLongFileNames property is set to False), PowerPoint automatically saves any supporting files in a separate folder. The files cannot be saved in the same folder as the Web page.

Example

This example specifies that all supporting files are saved in the same folder when presentation two is saved or published as a Web page.

Presentations(2).WebOptions.OrganizeInFolder = msoFalse

See Also

Concepts

WebOptions Object Members

WebOptions Object