UseDefaultFolderSuffix Method

Microsoft Word Visual Basic

UseDefaultFolderSuffix Method

       

Sets the folder suffix for the specified document to the default suffix for the language support you have selected or installed.

expression.UseDefaultFolderSuffix

expression   Required. An expression that returns a WebOptions object.

Remarks

Microsoft Word uses the folder suffix when you save a document as a Web page, use long file names, and choose to save supporting files in a separate folder (that is, if the UseLongFileNames and OrganizeInFolder properties are set to True).

The suffix appears in the folder name after the document name. For example, if the document is called "Doc1" and the language is English, the folder name is Doc1_files. The available folder suffixes are listed in the FolderSuffix property topic.

Example

This example sets the folder suffix for the active document to the default suffix.

ActiveDocument.WebOptions.UseDefaultFolderSuffix