Düzenle

Aracılığıyla paylaş


Options.AutoFormatWord property (Publisher)

True for Microsoft Publisher to automatically format the entire word at the cursor position, even when no text is selected. Read/write Boolean.

Syntax

expression.AutoFormatWord

expression A variable that represents an Options object.

Return value

Boolean

Remarks

If only one or two characters in a word are selected, only the selected characters are affected by a formatting change, not the whole word.

Example

This example sets global options for Microsoft Publisher, including enabling automatic formatting of the entire word.

Sub SetGlobalOptions() 
 With Options 
 .AutoFormatWord = True 
 .AutoKeyboardSwitching = True 
 .AutoSelectWord = True 
 .DragAndDropText = True 
 .UseCatalogAtStartup = False 
 .UseHelpfulMousePointers = False 
 End With 
End Sub

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.