OrganizeInFolder Property

Microsoft PowerPoint Visual Basic

OrganizeInFolder Property

       

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 MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse Supporting files are saved in the same folder as the Web page.
msoTriStateMixed
msoTriStateToggle
msoTrue 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.

Remarks

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