DoubleQuote Property

Microsoft Word Visual Basic

DoubleQuote Property

       

True if Microsoft Word encloses the specified PageNumbers object in double quotation marks ("). Read/write Boolean.

expression.DoubleQuote

expression   Required. An expression that returns a PageNumbers object.

Remarks

To set Word to enclose page numbers in double quotation marks by default, use the AddHebDoubleQuote property.

For more information on using Word with right-to-left languages, see Word features for right-to-left languages.

Example

This example encloses the page numbers in the first footer of the active document in double quotation marks (").

ActiveDocument.Sections(1).Footers(1) _
    .PageNumbers.DoubleQuote = True