OrganizeInFolder Property

Microsoft Publisher Visual Basic

OrganizeInFolder Property

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.

expression.OrganizeInFolder

expression    Required. An expression that returns a WebOptions object.

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