whiteSpace Property

       

Sets or returns the whiteSpace attribute for inline HTML styles. Click one of the links below for more information on this property. Read/write String.

Example

The following statement sets the whiteSpace attribute to nowrap.

Note   You must have an inline HTML style applied.

ActiveDocument.body.Style.whiteSpace = "nowrap"