WebOptions.OrganizeInFolder property (Publisher)

Returns or sets a Boolean value that specifies whether a web publication is saved in a flat structure or hierarchical structure. If False, all files in the web publication are saved in a flat structure within the root folder. If True, the files are saved in a hierarchical structure within the root folder. The default value is True. Read/write.

Syntax

expression.OrganizeInFolder

expression A variable that represents a WebOptions object.

Return value

Boolean

Example

The following example specifies that all files in the web publication should be saved in a flat structure within the root folder.

Dim theWO As WebOptions 
 
Set theWO = Application.WebOptions 
 
With theWO 
 .OrganizeInFolder = False 
End With

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.