DefaultWebOptions.OrganizeInFolder Property (PowerPoint)
Determines the global default setting for whether all Microsoft PowerPoint supporting files, such as background textures and graphics, are organized in a separate folder when you save or publish a presentation as a Web page. Read/write.
Syntax
expression .OrganizeInFolder
expression A variable that represents a DefaultWebOptions object.
Return Value
MsoTriState
Remarks
You can override the global setting for an individual presentation by setting the WebOptions.OrganizeInFolder property for that presentation.
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 a 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, 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 by default in PowerPoint, all supporting files are saved in the same folder a presentation is saved or published as a Web page.
Application.DefaultWebOptions.OrganizeInFolder = msoFalse