Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.33 KB

Word.Options.SmartCutPaste.md

File metadata and controls

56 lines (34 loc) · 1.33 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Options.SmartCutPaste property (Word)
vbawd10.chm162988103
vbawd10.chm162988103
Word.Options.SmartCutPaste
57e481b6-f3c4-8da4-2580-4abbbf21a95e
06/08/2017
medium

Options.SmartCutPaste property (Word)

True if Microsoft Word automatically adjusts the spacing between words and punctuation when cutting and pasting occurs. Read/write Boolean.

Syntax

expression. SmartCutPaste

expression An expression that returns an Options object.

Example

This example sets Word to automatically adjust the spacing between words and punctuation when cutting and pasting occurs, and then it deletes and pastes some text in a newly created document. If the SmartCutPaste property were set to False, the second and third words would run together.

Options.SmartCutPaste = True 
Set myDoc = Documents.Add 
With myDoc 
 .Content.InsertAfter("The brown quick fox") 
 .Words(2).Cut 
 .Characters(10).Paste 
End With

This example returns the status of the Smart cut and paste option on the Edit tab in the Options dialog box (Tools menu).

temp = Options.SmartCutPaste

See also

Options Object

[!includeSupport and feedback]