当启用修订选项时,返回或设置插入文字的颜色。WdColorIndex,可读写。
| WdColorIndex 可以是下列 WdColorIndex 常量之一: |
| wdAuto |
| wdBlack |
| wdBlue |
| wdBrightGreen |
| wdByAuthor |
| wdDarkBlue |
| wdDarkRed |
| wdDarkYellow |
| wdGray25 |
| wdGray50 |
| wdGreen |
| wdNoHighlight |
| wdPink |
| wdRed |
| wdTeal |
| wdTurquoise |
| wdViolet |
| wdWhite |
| wdYellow |
expression.InsertedTextColor
expression 必需。该表达式返回一个 Options 对象。
如果将 InsertedTextColor 属性设置为 wdByAuthor,Microsoft Word 会自动为文档的前八个审阅者各赋予唯一的颜色。
本示例将插入文本的颜色设置为深红色。
Options.InsertedTextColor = wdDarkRed
本示例返回“选项”对话框中“修订”选项卡上的“修订选项”下的“颜色”选项的当前状态。
Dim lngColor As Long
lngColor = Options.InsertedTextColor