PageNumbers.DoubleQuote property (Word)

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

Syntax

expression. DoubleQuote

expression 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.

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

See also

PageNumbers Collection Object

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.