Format related procedures in class Options (Word VBA)

This page presents procedures from class Options related to the theme Format: ApplyFarEastFontsToAscii, AutoFormatApplyBulletedLists, AutoFormatApplyFirstIndents, AutoFormatApplyHeadings, AutoFormatApplyLists, AutoFormatApplyOtherParas, AutoFormatAsYouTypeApplyBorders, AutoFormatAsYouTypeApplyBulletedLists, AutoFormatAsYouTypeApplyClosings, AutoFormatAsYouTypeApplyDates, AutoFormatAsYouTypeApplyFirstIndents, AutoFormatAsYouTypeApplyHeadings, AutoFormatAsYouTypeApplyNumberedLists, AutoFormatAsYouTypeApplyTables, AutoFormatAsYouTypeAutoLetterWizard, AutoFormatAsYouTypeDefineStyles, AutoFormatAsYouTypeDeleteAutoSpaces, AutoFormatAsYouTypeFormatListItemBeginning, AutoFormatAsYouTypeInsertClosings, AutoFormatAsYouTypeInsertOvers, AutoFormatAsYouTypeMatchParentheses, AutoFormatAsYouTypeReplaceFarEastDashes, AutoFormatAsYouTypeReplaceFractions, AutoFormatAsYouTypeReplaceOrdinals, AutoFormatAsYouTypeReplacePlainTextEmphasis, AutoFormatAsYouTypeReplaceQuotes, AutoFormatAsYouTypeReplaceSymbols, AutoFormatDeleteAutoSpaces, AutoFormatMatchParentheses, AutoFormatPlainTextWordMail, AutoFormatPreserveStyles, AutoFormatReplaceFarEastDashes, AutoFormatReplaceFractions, AutoFormatReplaceOrdinals, AutoFormatReplacePlainTextEmphasis, AutoFormatReplaceQuotes, AutoFormatReplaceSymbols, BibliographyStyle, CommentsColor, DefaultBorderColor, DefaultBorderColorIndex, DefaultBorderLineStyle, DefaultBorderLineWidth, DefaultHighlightColorIndex, DefaultOpenFormat, DeletedCellColor, DeletedTextColor, DiacriticColorVal, FormatScanning, InsertedCellColor, InsertedTextColor, MarginAlignmentGuides, MergedCellColor, MoveFromTextColor, MoveToTextColor, PasteAdjustParagraphSpacing, PasteAdjustTableFormatting, PasteAdjustWordSpacing, PasteFormatBetweenDocuments, PasteFormatBetweenStyledDocuments, PasteFormatFromExternalSource, PasteFormatWithinDocument, PasteSmartStyleBehavior, PromptUpdateStyle, RevisedLinesColor, RevisedPropertiesColor, SplitCellColor, UpdateStyleListBehavior, UseDiffDiacColor and UseNormalStyleForList

ApplyFarEastFontsToAscii

True if Microsoft Word applies East Asian fonts to Latin text.

This property applies only when you have selected an East Asian language for editing. If this property is False and you apply an East Asian font to a specified range, Word will not apply the font to any Latin text in the range.

Options.ApplyFarEastFontsToAscii = True

AutoFormatApplyBulletedLists

True if characters (such as asterisks, hyphens, and greater-than signs) at the beginning of list paragraphs are replaced with bullets from the Bullets and Numbering dialog box (Format menu) when Word formats a document or range automatically.

Options.AutoFormatApplyBulletedLists = True 
Selection.Range.AutoFormat

AutoFormatApplyFirstIndents

True if Microsoft Word replaces a space entered at the beginning of a paragraph with a first-line indent when Word formats a document or range automatically.

Options.AutoFormatApplyFirstIndents = True 
Selection.Range.AutoFormat

AutoFormatApplyHeadings

True if styles are automatically applied to headings when Word formats a document or range automatically.

Options.AutoFormatApplyHeadings = True 
Selection.Range.AutoFormat

AutoFormatApplyLists

True if styles are automatically applied to lists when Word formats a document or range automatically.

Options.AutoFormatApplyLists = True 
Selection.Range.AutoFormat

AutoFormatApplyOtherParas

True if styles are automatically applied to paragraphs that aren't headings or list items when Word formats a document or range automatically.

Options.AutoFormatApplyOtherParas = True 
Selection.Range.AutoFormat

AutoFormatAsYouTypeApplyBorders

True if a series of three or more hyphens (-), equal signs (=), or underscore characters (_) are automatically replaced by a specific border line when the ENTER key is pressed.

Hyphens (-) are replaced by a 0.75-point line, equal signs (=) are replaced by a 0.75-point double line, and underscore characters (_) are replaced by a 1.5-point line.

Options.AutoFormatAsYouTypeApplyBorders = True

AutoFormatAsYouTypeApplyBulletedLists

True if bullet characters (such as asterisks, hyphens, and greater-than signs) are replaced with bullets from the Bullets And Numbering dialog box (Format menu) as you type.

Options.AutoFormatAsYouTypeApplyBulletedLists = True

AutoFormatAsYouTypeApplyClosings

True for Microsoft Word to automatically apply the Closing style to letter closings as you type.

Sub AutoClosings() 
 Options.AutoFormatAsYouTypeApplyClosings = True 
End Sub

AutoFormatAsYouTypeApplyDates

True for Microsoft Word to automatically apply the Date style to dates as you type.

Sub AutoApplyDates() 
 Options.AutoFormatAsYouTypeApplyDates = True 
End Sub

AutoFormatAsYouTypeApplyFirstIndents

True for Microsoft Word to automatically replace a space entered at the beginning of a paragraph with a first-line indent.

Sub ApplyFirstIndents() 
 Options.AutoFormatAsYouTypeApplyFirstIndents = True 
End Sub

AutoFormatAsYouTypeApplyHeadings

True if styles are automatically applied to headings as you type.

Options.AutoFormatAsYouTypeApplyHeadings = True

AutoFormatAsYouTypeApplyNumberedLists

True if paragraphs are automatically formatted as numbered lists with a numbering scheme from the Bullets and Numbering dialog box (Format menu), according to what's typed. For example, if a paragraph starts with "1.1" and a tab character, Word automatically inserts "1.2" and a tab character after the ENTER key is pressed.

Options.AutoFormatAsYouTypeApplyNumberedLists = True

AutoFormatAsYouTypeApplyTables

True if Word automatically creates a table when you type a plus sign, a series of hyphens, another plus sign, and so on, and then press ENTER. The plus signs become the column borders, and the hyphens become the column widths.

Options.AutoFormatAsYouTypeApplyTables = True

AutoFormatAsYouTypeAutoLetterWizard

True for Microsoft Word to automatically start the Letter Wizard when the user enters a letter salutation or closing.

Sub AutoLetterWizard() 
 Options.AutoFormatAsYouTypeAutoLetterWizard = True 
End Sub

AutoFormatAsYouTypeDefineStyles

True if Word automatically creates new styles based on manual formatting.

Options.AutoFormatAsYouTypeDefineStyles = True

AutoFormatAsYouTypeDeleteAutoSpaces

True for Microsoft Word to automatically delete spaces inserted between Japanese and Latin text as you type.

Sub AutoDeleteSpaces() 
 Options.AutoFormatAsYouTypeDeleteAutoSpaces = True 
End Sub

AutoFormatAsYouTypeFormatListItemBeginning

True if Word repeats character formatting applied to the beginning of a list item to the next list item.

Options.AutoFormatAsYouTypeFormatListItemBeginning = True

AutoFormatAsYouTypeInsertClosings

True for Microsoft Word to automatically insert the corresponding memo closing when the user enters a memo heading.

Sub AutoInsertClosings() 
 Options.AutoFormatAsYouTypeInsertClosings = True 
End Sub

AutoFormatAsYouTypeInsertOvers

True for Microsoft Word to automatically insert "以上" when the user enters "記" or "案".

Options.AutoFormatAsYouTypeInsertOvers = True

AutoFormatAsYouTypeMatchParentheses

True for Microsoft Word to automatically correct improperly paired parentheses.

Sub AutoMatchParentheses() 
 Options.AutoFormatAsYouTypeMatchParentheses = True 
End Sub

AutoFormatAsYouTypeReplaceFarEastDashes

True for Microsoft Word to automatically correct long vowel sounds and dashes.

Sub AutoFarEastDashes() 
 Options.AutoFormatAsYouTypeReplaceFarEastDashes = True 
End Sub

AutoFormatAsYouTypeReplaceFractions

True if typed fractions are replaced with fractions from the current character set as you type. For example, "1/2" is replaced with "½.

Options.AutoFormatAsYouTypeReplaceFractions = False

AutoFormatAsYouTypeReplaceOrdinals

True if the ordinal number suffixes "st", "nd", "rd", and "th" are replaced with the same letters in superscript as you type. For example, "1st" is replaced with "1" followed by "st" formatted as superscript.

Options.AutoFormatAsYouTypeReplaceOrdinals = True

AutoFormatAsYouTypeReplacePlainTextEmphasis

True if manual emphasis characters are automatically replaced with character formatting as you type. For example, "bold" is changed to " bold " and "underline" is changed to "underline.

Options.AutoFormatAsYouTypeReplacePlainTextEmphasis = True

AutoFormatAsYouTypeReplaceQuotes

True if straight quotation marks are automatically changed to smart (curly) quotation marks as you type.

Options.AutoFormatAsYouTypeReplaceQuotes = True

AutoFormatAsYouTypeReplaceSymbols

True if two consecutive hyphens (--) are replaced with an en dash (-) or an em dash (—) as you type. Read/write Boolean.If the hyphens are typed with leading and trailing spaces, Word replaces the hyphens with an en dash; if there are no trailing spaces, the hyphens are replaced with an em dash.

Options.AutoFormatAsYouTypeReplaceSymbols = True

AutoFormatDeleteAutoSpaces

True if spaces inserted between Japanese and Latin text will be deleted when Microsoft Word formats a document or range automatically.

Options.AutoFormatDeleteAutoSpaces = True 
Selection.Range.AutoFormat

AutoFormatMatchParentheses

True if improperly paired parentheses are corrected when Microsoft Word formats a document or range automatically.

Options.AutoFormatMatchParentheses = True 
Selection.Range.AutoFormat

AutoFormatPlainTextWordMail

True if Word automatically formats plain-text email messages when you open them in Word.

Options.AutoFormatPlainTextWordMail = True

AutoFormatPreserveStyles

True if previously applied styles are preserved when Word formats a document or range automatically.

With Options 
 .AutoFormatPreserveStyles = True 
 .AutoFormatApplyHeadings = True 
 .AutoFormatApplyLists = True 
 .AutoFormatApplyOtherParas = True 
End With 
Selection.Range.AutoFormat

AutoFormatReplaceFarEastDashes

True if long vowel sound and dash use is corrected when Microsoft Word formats a document or range automatically.

Options.AutoFormatReplaceFarEastDashes = True 
Selection.Range.AutoFormat

AutoFormatReplaceFractions

True if typed fractions are replaced with fractions from the current character set when Word formats a document or range automatically. For example, "1/2" is replaced with "½.

Options.AutoFormatReplaceFractions = True 
Selection.Range.AutoFormat

AutoFormatReplaceOrdinals

True if the ordinal number suffixes "st", "nd", "rd", and "th" are replaced with the same letters in superscript when Word formats a document or range automatically. For example, "1st" is replaced with "1" followed by "st" formatted as superscript.

Options.AutoFormatReplaceOrdinals = True 
Selection.Range.AutoFormat

AutoFormatReplacePlainTextEmphasis

True if manual emphasis characters are replaced with character formatting when Word formats a document or range automatically. For example, "bold" is changed to "bold" and "underline" is changed to "underline.

Options.AutoFormatReplacePlainTextEmphasis = True 
Selection.Range.AutoFormat

AutoFormatReplaceQuotes

True if straight quotation marks are automatically changed to smart (curly) quotation marks when Word formats a document or range automatically.

Options.AutoFormatReplaceQuotes = True 
Selection.Range.AutoFormat

AutoFormatReplaceSymbols

True if two consecutive hyphens (--) are replaced by an en dash (-) or an em dash (—) when Word formats a document or range automatically.

Options.AutoFormatReplaceSymbols = True 
Selection.Range.AutoFormat

BibliographyStyle

Returns or sets a String that represents the name of the style to use for formatting bibliographies.

Options.BibliographyStyle =

CommentsColor

Returns or sets a WdColorIndex constant that represents the color of comments in a document.

Possible Values are wdAuto - Automatic color. Default; usually black, wdBlack - Black color, wdBlue - Blue color, wdBrightGreen - Bright green color, wdByAuthor - Color defined by document author, wdClassicBlue, wdClassicRed, wdDarkBlue - Dark blue color, wdDarkRed - Dark red color, wdDarkYellow - Dark yellow color, wdGray25 - Shade 25 of gray color, wdGray50 - Shade 50 of gray color, wdGreen - Green color, wdNoHighlight - Removes highlighting that has been applied, wdPink - Pink color, wdRed - Red color, wdTeal - Teal color, wdTurquoise - Turquoise color, wdViolet - Violet color, wdWhite - White color, wdYellow - Yellow color.
Sub ColorCodeComments() 
 Options.CommentsColor = wdByAuthor 
End Sub

DefaultBorderColor

Returns or sets the default 24-bit color to use for new Border objects.

Possible Values are wdColorAqua - Aqua color, wdColorAutomatic - Automatic color; default; usually black, wdColorBlack - Black color, wdColorBlue - Blue color, wdColorBlueGray - Blue-gray color, wdColorBrightGreen - Bright green color, wdColorBrown - Brown color, wdColorDarkBlue - Dark blue color, wdColorDarkGreen - Dark green color, wdColorDarkRed - Dark red color, wdColorDarkTeal - Dark teal color, wdColorDarkYellow - Dark yellow color, wdColorGold - Gold color, wdColorGray05 - Shade 05 of gray color, wdColorGray10 - Shade 10 of gray color, wdColorGray125 - Shade 125 of gray color, wdColorGray15 - Shade 15 of gray color, wdColorGray20 - Shade 20 of gray color, wdColorGray25 - Shade 25 of gray color, wdColorGray30 - Shade 30 of gray color, wdColorGray35 - Shade 35 of gray color, wdColorGray375 - Shade 375 of gray color, wdColorGray40 - Shade 40 of gray color, wdColorGray45 - Shade 45 of gray color, wdColorGray50 - Shade 50 of gray color, wdColorGray55 - Shade 55 of gray color, wdColorGray60 - Shade 60 of gray color, wdColorGray625 - Shade 625 of gray color, wdColorGray65 - Shade 65 of gray color, wdColorGray70 - Shade 70 of gray color, wdColorGray75 - Shade 75 of gray color, wdColorGray80 - Shade 80 of gray color, wdColorGray85 - Shade 85 of gray color, wdColorGray875 - Shade 875 of gray color, wdColorGray90 - Shade 90 of gray color, wdColorGray95 - Shade 95 of gray color, wdColorGreen - Green color, wdColorIndigo - Indigo color, wdColorLavender - Lavender color, wdColorLightBlue - Light blue color, wdColorLightGreen - Light green color, wdColorLightOrange - Light orange color, wdColorLightTurquoise - Light turquoise color, wdColorLightYellow - Light yellow color, wdColorLime - Lime color, wdColorOliveGreen - Olive green color, wdColorOrange - Orange color, wdColorPaleBlue - Pale blue color, wdColorPink - Pink color, wdColorPlum - Plum color, wdColorRed - Red color, wdColorRose - Rose color, wdColorSeaGreen - Sea green color, wdColorSkyBlue - Sky blue color, wdColorTan - Tan color, wdColorTeal - Teal color, wdColorTurquoise - Turquoise color, wdColorViolet - Violet color, wdColorWhite - White color, wdColorYellow - Yellow color.

This property can be any valid WdColor constant or a value returned by Visual Basic's RGB function.

Options.DefaultBorderColor = wdColorTeal

DefaultBorderColorIndex

Returns or sets the default line color for borders.

Possible Values are wdAuto - Automatic color. Default; usually black, wdBlack - Black color, wdBlue - Blue color, wdBrightGreen - Bright green color, wdByAuthor - Color defined by document author, wdClassicBlue, wdClassicRed, wdDarkBlue - Dark blue color, wdDarkRed - Dark red color, wdDarkYellow - Dark yellow color, wdGray25 - Shade 25 of gray color, wdGray50 - Shade 50 of gray color, wdGreen - Green color, wdNoHighlight - Removes highlighting that has been applied, wdPink - Pink color, wdRed - Red color, wdTeal - Teal color, wdTurquoise - Turquoise color, wdViolet - Violet color, wdWhite - White color, wdYellow - Yellow color.
ActiveDocument.Paragraphs(1).Borders.Enable = True 
With Options 
 .DefaultBorderColorIndex = wdRed 
 .DefaultBorderLineStyle = wdLineStyleDouble 
End With

DefaultBorderLineStyle

Returns or sets the default border line style.

Possible Values are wdLineStyleDashDot - A dash followed by a dot, wdLineStyleDashDotDot - A dash followed by two dots, wdLineStyleDashDotStroked - A dash followed by a dot stroke, thus rendering a border similar to a barber pole, wdLineStyleDashLargeGap - A dash followed by a large gap, wdLineStyleDashSmallGap - A dash followed by a small gap, wdLineStyleDot - Dots, wdLineStyleDouble - Double solid lines, wdLineStyleDoubleWavy - Double wavy solid lines, wdLineStyleEmboss3D - The border appears to have a 3D embossed look, wdLineStyleEngrave3D - The border appears to have a 3D engraved look, wdLineStyleInset - The border appears to be inset, wdLineStyleNone - No border, wdLineStyleOutset - The border appears to be outset, wdLineStyleSingle - A single solid line, wdLineStyleSingleWavy - A single wavy solid line, wdLineStyleThickThinLargeGap - An internal single thick solid line surrounded by a single thin solid line with a large gap between them, wdLineStyleThickThinMedGap - An internal single thick solid line surrounded by a single thin solid line with a medium gap between them, wdLineStyleThickThinSmallGap - An internal single thick solid line surrounded by a single thin solid line with a small gap between them, wdLineStyleThinThickLargeGap - An internal single thin solid line surrounded by a single thick solid line with a large gap between them, wdLineStyleThinThickMedGap - An internal single thin solid line surrounded by a single thick solid line with a medium gap between them, wdLineStyleThinThickSmallGap - An internal single thin solid line surrounded by a single thick solid line with a small gap between them, wdLineStyleThinThickThinLargeGap - An internal single thin solid line surrounded by a single thick solid line surrounded by a single thin solid line with a large gap between all lines, wdLineStyleThinThickThinMedGap - An internal single thin solid line surrounded by a single thick solid line surrounded by a single thin solid line with a medium gap between all lines, wdLineStyleThinThickThinSmallGap - An internal single thin solid line surrounded by a single thick solid line surrounded by a single thin solid line with a small gap between all lines, wdLineStyleTriple - Three solid thin lines.
Options.DefaultBorderLineStyle = wdLineStyleDouble

DefaultBorderLineWidth

Returns or sets the default line width of borders.

Possible Values are wdLineWidth025pt - 0.25 point, wdLineWidth050pt - 0.50 point, wdLineWidth075pt - 0.75 point, wdLineWidth100pt - 1.00 point. default, wdLineWidth150pt - 1.50 points, wdLineWidth225pt - 2.25 points, wdLineWidth300pt - 3.00 points, wdLineWidth450pt - 4.50 points, wdLineWidth600pt - 6.00 points.
Options.DefaultBorderLineWidth = wdLineWidth050pt 
Selection.Borders.Enable = True

DefaultHighlightColorIndex

Returns or sets the color used to highlight text formatted with the Highlight button (Formatting toolbar).

Possible Values are wdAuto - Automatic color. Default; usually black, wdBlack - Black color, wdBlue - Blue color, wdBrightGreen - Bright green color, wdByAuthor - Color defined by document author, wdClassicBlue, wdClassicRed, wdDarkBlue - Dark blue color, wdDarkRed - Dark red color, wdDarkYellow - Dark yellow color, wdGray25 - Shade 25 of gray color, wdGray50 - Shade 50 of gray color, wdGreen - Green color, wdNoHighlight - Removes highlighting that has been applied, wdPink - Pink color, wdRed - Red color, wdTeal - Teal color, wdTurquoise - Turquoise color, wdViolet - Violet color, wdWhite - White color, wdYellow - Yellow color.
Options.DefaultHighlightColorIndex = wdBrightGreen

DefaultOpenFormat

Returns or sets the default file converter used to open documents. Can be a number returned by the OpenFormat property, or one of the following WdOpenFormat constants.

Possible Values are wdOpenFormatAllWord - A Microsoft Word format that is backward compatible with earlier versions of Word, wdOpenFormatAllWordTemplates - Word template format, wdOpenFormatAuto - The existing format, wdOpenFormatDocument - Word format, wdOpenFormatDocument97 - Microsoft Word 97 document format, wdOpenFormatEncodedText - Encoded text format, wdOpenFormatOpenDocumentText - OpenDocument Text format, wdOpenFormatRTF - Rich text format (RTF), wdOpenFormatTemplate - As a Word template, wdOpenFormatTemplate97 - Word 97 template format, wdOpenFormatText - Unencoded text format, wdOpenFormatUnicodeText - Unicode text format, wdOpenFormatWebPages - HTML format, wdOpenFormatXML - XML format, wdOpenFormatXMLDocument - XML document format, wdOpenFormatXMLDocumentMacroEnabled - XML document format with macros enabled, wdOpenFormatXMLDocumentMacroEnabledSerialized - Open XML file format with macros enabled saved as a single XML file, wdOpenFormatXMLDocumentSerialized - Open XML file format saved as a single XML file, wdOpenFormatXMLTemplate - XML template format, wdOpenFormatXMLTemplateMacroEnabled - XML template format with macros enabled, wdOpenFormatXMLTemplateMacroEnabledSerialized - Open XML template format with macros enabled saved as a single XML file, wdOpenFormatXMLTemplateSerialized - Open XML template format saved as a XML single file.
Options.DefaultOpenFormat = wdOpenFormatDocument 
Documents.Open FileName:="C:\Sales\Forecast.doc"

DeletedCellColor

Returns or sets a WdCellColor constant that represents the color for a deleted cell.

Possible Values are wdCellColorByAuthor - Highlighting color determined by reviewer, wdCellColorLightBlue - Light blue, wdCellColorLightGray - Light gray, wdCellColorLightGreen - Light green, wdCellColorLightOrange - Light orange, wdCellColorLightPurple - Light purple, wdCellColorLightYellow - Light yellow, wdCellColorNoHighlight - No highlighting, wdCellColorPink - Pink.
Options.DeletedCellColor = wdCellColorByAuthor

DeletedTextColor

Returns or sets the color of text that is deleted while change tracking is enabled.

Possible Values are wdAuto - Automatic color. Default; usually black, wdBlack - Black color, wdBlue - Blue color, wdBrightGreen - Bright green color, wdByAuthor - Color defined by document author, wdClassicBlue, wdClassicRed, wdDarkBlue - Dark blue color, wdDarkRed - Dark red color, wdDarkYellow - Dark yellow color, wdGray25 - Shade 25 of gray color, wdGray50 - Shade 50 of gray color, wdGreen - Green color, wdNoHighlight - Removes highlighting that has been applied, wdPink - Pink color, wdRed - Red color, wdTeal - Teal color, wdTurquoise - Turquoise color, wdViolet - Violet color, wdWhite - White color, wdYellow - Yellow color.

If the DeletedTextColor property is set to wdByAuthor, Word automatically assigns a unique color to each of the first eight authors who revise a document.

Options.DeletedTextColor = wdBrightGreen

DiacriticColorVal

Returns or sets the 24-bit color to be used for diacritics in a right-to-left language document.

Possible Values are wdColorAqua - Aqua color, wdColorAutomatic - Automatic color; default; usually black, wdColorBlack - Black color, wdColorBlue - Blue color, wdColorBlueGray - Blue-gray color, wdColorBrightGreen - Bright green color, wdColorBrown - Brown color, wdColorDarkBlue - Dark blue color, wdColorDarkGreen - Dark green color, wdColorDarkRed - Dark red color, wdColorDarkTeal - Dark teal color, wdColorDarkYellow - Dark yellow color, wdColorGold - Gold color, wdColorGray05 - Shade 05 of gray color, wdColorGray10 - Shade 10 of gray color, wdColorGray125 - Shade 125 of gray color, wdColorGray15 - Shade 15 of gray color, wdColorGray20 - Shade 20 of gray color, wdColorGray25 - Shade 25 of gray color, wdColorGray30 - Shade 30 of gray color, wdColorGray35 - Shade 35 of gray color, wdColorGray375 - Shade 375 of gray color, wdColorGray40 - Shade 40 of gray color, wdColorGray45 - Shade 45 of gray color, wdColorGray50 - Shade 50 of gray color, wdColorGray55 - Shade 55 of gray color, wdColorGray60 - Shade 60 of gray color, wdColorGray625 - Shade 625 of gray color, wdColorGray65 - Shade 65 of gray color, wdColorGray70 - Shade 70 of gray color, wdColorGray75 - Shade 75 of gray color, wdColorGray80 - Shade 80 of gray color, wdColorGray85 - Shade 85 of gray color, wdColorGray875 - Shade 875 of gray color, wdColorGray90 - Shade 90 of gray color, wdColorGray95 - Shade 95 of gray color, wdColorGreen - Green color, wdColorIndigo - Indigo color, wdColorLavender - Lavender color, wdColorLightBlue - Light blue color, wdColorLightGreen - Light green color, wdColorLightOrange - Light orange color, wdColorLightTurquoise - Light turquoise color, wdColorLightYellow - Light yellow color, wdColorLime - Lime color, wdColorOliveGreen - Olive green color, wdColorOrange - Orange color, wdColorPaleBlue - Pale blue color, wdColorPink - Pink color, wdColorPlum - Plum color, wdColorRed - Red color, wdColorRose - Rose color, wdColorSeaGreen - Sea green color, wdColorSkyBlue - Sky blue color, wdColorTan - Tan color, wdColorTeal - Teal color, wdColorTurquoise - Turquoise color, wdColorViolet - Violet color, wdColorWhite - White color, wdColorYellow - Yellow color.

This property can be any valid WdColor constant or a value returned by the Microsoft Visual Basic RGB function. The value of the UseDiffDiacColor property must be True to use this property.

If Options.UseDiffDiacColor = True Then _ 
 Options.DiacriticColorVal = wdColorBrightGreen

FormatScanning

True for Microsoft Word to keep track of all formatting in a document.

Enabling the FormatScanning property allows you to identify all unique formatting in your document, so you can easily apply the same formatting to new text and quickly replace or modify all instances of a given formatting within a document.

Sub ShowFormatErrors() 
 With Options 
 .FormatScanning = True 
 .ShowFormatError = False 'Disables displaying squiggly underline 
 End With 
End Sub

InsertedCellColor

Returns or sets a WdCellColor constant that represents the color for an inserted table cell.

Possible Values are wdCellColorByAuthor - Highlighting color determined by reviewer, wdCellColorLightBlue - Light blue, wdCellColorLightGray - Light gray, wdCellColorLightGreen - Light green, wdCellColorLightOrange - Light orange, wdCellColorLightPurple - Light purple, wdCellColorLightYellow - Light yellow, wdCellColorNoHighlight - No highlighting, wdCellColorPink - Pink.
Options.InsertedCellColor = wdCellColorByAuthor

InsertedTextColor

Returns or sets the color of text that is inserted while change tracking is enabled.

Possible Values are wdAuto - Automatic color. Default; usually black, wdBlack - Black color, wdBlue - Blue color, wdBrightGreen - Bright green color, wdByAuthor - Color defined by document author, wdClassicBlue, wdClassicRed, wdDarkBlue - Dark blue color, wdDarkRed - Dark red color, wdDarkYellow - Dark yellow color, wdGray25 - Shade 25 of gray color, wdGray50 - Shade 50 of gray color, wdGreen - Green color, wdNoHighlight - Removes highlighting that has been applied, wdPink - Pink color, wdRed - Red color, wdTeal - Teal color, wdTurquoise - Turquoise color, wdViolet - Violet color, wdWhite - White color, wdYellow - Yellow color.

If the InsertedTextColor property is set to wdByAuthor, Microsoft Word automatically assigns a unique color to each of the first eight authors who revise a document.

Options.InsertedTextColor = wdDarkRed

MarginAlignmentGuides

Returns or sets a Boolean that specifies whether margin alignment guides are displayed in the user interface.

If MarginAlignmentGuides is set to True, margin alignment guides are displayed. Setting MarginAlignmentGuides to True corresponds to selecting Margin guides under Alignment Guides in the Grid and Guides dialog box. (Click Grid Settings on the Align drop-down menu in the Arrange group on the Format contextual ribbon tab in the user interface.) For the MarginAlignmentGuides setting to have any effect, DisplayAlignmentGuides must be set to True.

Options.MarginAlignmentGuides = True

MergedCellColor

Returns or sets a WdCellColor constant that represents the color for merged table cells.

Possible Values are wdCellColorByAuthor - Highlighting color determined by reviewer, wdCellColorLightBlue - Light blue, wdCellColorLightGray - Light gray, wdCellColorLightGreen - Light green, wdCellColorLightOrange - Light orange, wdCellColorLightPurple - Light purple, wdCellColorLightYellow - Light yellow, wdCellColorNoHighlight - No highlighting, wdCellColorPink - Pink.

This property applies only to documents upon which you have run the CompareDocuments, Compare, or Merge method.

Options.MergedCellColor = wdCellColorByAuthor

MoveFromTextColor

Returns or sets a WdColorIndex constant that represents the color of moved text.

Possible Values are wdAuto - Automatic color. Default; usually black, wdBlack - Black color, wdBlue - Blue color, wdBrightGreen - Bright green color, wdByAuthor - Color defined by document author, wdClassicBlue, wdClassicRed, wdDarkBlue - Dark blue color, wdDarkRed - Dark red color, wdDarkYellow - Dark yellow color, wdGray25 - Shade 25 of gray color, wdGray50 - Shade 50 of gray color, wdGreen - Green color, wdNoHighlight - Removes highlighting that has been applied, wdPink - Pink color, wdRed - Red color, wdTeal - Teal color, wdTurquoise - Turquoise color, wdViolet - Violet color, wdWhite - White color, wdYellow - Yellow color.
Options.MoveFromTextColor = wdAuto

MoveToTextColor

Returns or sets a WdColorIndex constant that represents the color of moved text.

Possible Values are wdAuto - Automatic color. Default; usually black, wdBlack - Black color, wdBlue - Blue color, wdBrightGreen - Bright green color, wdByAuthor - Color defined by document author, wdClassicBlue, wdClassicRed, wdDarkBlue - Dark blue color, wdDarkRed - Dark red color, wdDarkYellow - Dark yellow color, wdGray25 - Shade 25 of gray color, wdGray50 - Shade 50 of gray color, wdGreen - Green color, wdNoHighlight - Removes highlighting that has been applied, wdPink - Pink color, wdRed - Red color, wdTeal - Teal color, wdTurquoise - Turquoise color, wdViolet - Violet color, wdWhite - White color, wdYellow - Yellow color.
Options.MoveToTextColor = wdAuto

PasteAdjustParagraphSpacing

True if Microsoft Word automatically adjusts the spacing of paragraphs when cutting and pasting selections.

Sub AdjustParaSpace() 
 With Options 
 If .PasteAdjustParagraphSpacing = False Then 
 .PasteAdjustParagraphSpacing = True 
 End If 
 End With 
End Sub

PasteAdjustTableFormatting

True if Microsoft Word automatically adjusts the formatting of tables when cutting and pasting selections.

Sub AdjustTableFormatting() 
 With Options 
 If .PasteAdjustTableFormatting = False Then 
 .PasteAdjustTableFormatting = True 
 End If 
 End With 
End Sub

PasteAdjustWordSpacing

True if Microsoft Word automatically adjusts the spacing of words when cutting and pasting selections.

Sub AdjustWordSpace() 
 With Options 
 If .PasteAdjustWordSpacing = False Then 
 .PasteAdjustWordSpacing = True 
 End If 
 End With 
End Sub

PasteFormatBetweenDocuments

Returns or sets a WdPasteOptions constant that represents how text is pasted when text is copied from another Microsoft Office Word document.

Possible Values are wdKeepSourceFormatting - Keeps formatting from the source document, wdKeepTextOnly - Keeps text only, without formatting, wdMatchDestinationFormatting - Matches formatting to the destination document, wdUseDestinationStyles - Matches formatting to the destination document using styles for formatting.

Corresponds to the Pasting between two documents (without styles) option in the Advanced tab of the Word Options dialog box.

Options.PasteFormatBetweenDocuments = wdKeepSourceFormatting

PasteFormatBetweenStyledDocuments

Returns or sets a WdPasteOptions constant that represents how text is pasted when text is copied from a document that uses styles.

Possible Values are wdKeepSourceFormatting - Keeps formatting from the source document, wdKeepTextOnly - Keeps text only, without formatting, wdMatchDestinationFormatting - Matches formatting to the destination document, wdUseDestinationStyles - Matches formatting to the destination document using styles for formatting.

Corresponds to the Pasting between two documents (with styles) option in the Advanced tab of the Word Options dialog box.

Options.PasteFormatBetweenStyledDocuments = wdKeepSourceFormatting

PasteFormatFromExternalSource

Returns or sets a WdPasteOptions constant that represents how text is pasted when text is copied from an external source, such as a webpage.

Possible Values are wdKeepSourceFormatting - Keeps formatting from the source document, wdKeepTextOnly - Keeps text only, without formatting, wdMatchDestinationFormatting - Matches formatting to the destination document, wdUseDestinationStyles - Matches formatting to the destination document using styles for formatting.

Corresponds to the Pasting from other programs option in the Advanced tab of the Word Options dialog box.

Options.PasteFormatFromExternalSource = wdKeepSourceFormatting

PasteFormatWithinDocument

Returns or sets a WdPasteOptions constant that represents how text is pasted when text is copied or cut and then pasted in the same document.

Possible Values are wdKeepSourceFormatting - Keeps formatting from the source document, wdKeepTextOnly - Keeps text only, without formatting, wdMatchDestinationFormatting - Matches formatting to the destination document, wdUseDestinationStyles - Matches formatting to the destination document using styles for formatting.

Corresponds to the Pasting within the same document option in the Advanced tab of the Word Options dialog box.

Options.PasteFormatWithinDocument = wdKeepSourceFormatting

PasteSmartStyleBehavior

True if Microsoft Word intelligently merges styles when pasting a selection from a different document.

Sub UseSmartStyle() 
 With Options 
 If .PasteSmartStyleBehavior = False Then 
 .PasteSmartStyleBehavior = True 
 End If 
 End With 
End Sub

PromptUpdateStyle

True displays a message asking the user to verify whether they want to reformat a style or reapply the original style formatting when changing the formatting of styles.

False reapplies the style formatting to the selection without verifying whether the user wants to change the style.

Sub UpdateStylePrompt() 
 With Application.Options 
 If .PromptUpdateStyle = False Then 
 .PromptUpdateStyle = True 
 End If 
 End With 
End Sub

RevisedLinesColor

Returns or sets the color of changed lines in a document with tracked changes.

Possible Values are wdAuto - Automatic color. Default; usually black, wdBlack - Black color, wdBlue - Blue color, wdBrightGreen - Bright green color, wdByAuthor - Color defined by document author, wdClassicBlue, wdClassicRed, wdDarkBlue - Dark blue color, wdDarkRed - Dark red color, wdDarkYellow - Dark yellow color, wdGray25 - Shade 25 of gray color, wdGray50 - Shade 50 of gray color, wdGreen - Green color, wdNoHighlight - Removes highlighting that has been applied, wdPink - Pink color, wdRed - Red color, wdTeal - Teal color, wdTurquoise - Turquoise color, wdViolet - Violet color, wdWhite - White color, wdYellow - Yellow color.
Options.RevisedLinesColor = wdPink

RevisedPropertiesColor

Returns or sets the color used to mark formatting changes while change tracking is enabled.

Possible Values are wdAuto - Automatic color. Default; usually black, wdBlack - Black color, wdBlue - Blue color, wdBrightGreen - Bright green color, wdByAuthor - Color defined by document author, wdClassicBlue, wdClassicRed, wdDarkBlue - Dark blue color, wdDarkRed - Dark red color, wdDarkYellow - Dark yellow color, wdGray25 - Shade 25 of gray color, wdGray50 - Shade 50 of gray color, wdGreen - Green color, wdNoHighlight - Removes highlighting that has been applied, wdPink - Pink color, wdRed - Red color, wdTeal - Teal color, wdTurquoise - Turquoise color, wdViolet - Violet color, wdWhite - White color, wdYellow - Yellow color.

If deleted or inserted text has formatting changes, the RevisedPropertiesColor property is overridden by the DeletedTextColor or InsertedTextColor property.

ActiveDocument.TrackRevisions = True 
Options.RevisedPropertiesColor = wdTeal 
Selection.Font.Bold = True

SplitCellColor

Returns or sets a WdCellColor that represents the color for split table cells.

Possible Values are wdCellColorByAuthor - Highlighting color determined by reviewer, wdCellColorLightBlue - Light blue, wdCellColorLightGray - Light gray, wdCellColorLightGreen - Light green, wdCellColorLightOrange - Light orange, wdCellColorLightPurple - Light purple, wdCellColorLightYellow - Light yellow, wdCellColorNoHighlight - No highlighting, wdCellColorPink - Pink.

This property applies only to documents upon which you have run the CompareDocuments, Compare, or Merge method.

Options.SplitCellColor = wdCellColorByAuthor

UpdateStyleListBehavior

Returns or sets a WdUpdateStyleListBehavior constant that specifies the behavior Word should take when updating a style to match a selection that contains numbering or bullets.

Possible Values are wdListBehaviorAddBulletsNumbering - Adds the numbering or bullets pattern of the selection to all paragraphs in the document that use the same style, wdListBehaviorKeepPreviousPattern - Keeps the existing numbering or bullets pattern for all other paragraphs that use the same style and does not apply the numbering or bullets pattern of the selection.

Setting this property has the same effect as selecting an item in the dropdown list in the Word Options dialog (Advanced tab, Editing options, Updating style to match selection:.

Options.UpdateStyleListBehavior = wdListBehaviorAddBulletsNumbering

UseDiffDiacColor

True if you can set the color of diacritics in the current document.

If Options.UseDiffDiacColor = True Then _ 
 Selection.Font.DiacriticColor = wdColorBlue

UseNormalStyleForList

Returns or sets a Boolean that represents whether Microsoft Word uses the Normal style for bullets and numbering.

Corresponds to the Use Normal style for bulleted and numbered lists check box in the Advanced tab of the Word Options dialog box.

Options.UseNormalStyleForList = True