Table of contents
TOC
Collapse the table of content
Expand the table of content

WebOptions.OrganizeInFolder Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

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

Syntax

expression. OrganizeInFolder

_expression_A variable that represents an 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
© 2018 Microsoft