AutoCreateNewDrawings Property

Microsoft Word Visual Basic

expression.AutoCreateNewDrawings

expression    Required. An expression that returns an Options object.

Remarks

The AutoCreateNewDrawings property only affects shapes as they are added from within Word. If shapes are added through Visual Basic for Applications code, they are added as specified in the code regardless of whether this option is set to True or False.

Example

This example sets Word to add newly created shapes directly to the document and not within a drawing canvas.

Sub NewDrawings()
    Application.Options.AutoCreateNewDrawings = False
End Sub