ThemeColor 属性 (Excel)Borders.ThemeColor property (Excel)

返回或设置已应用的配色方案中的主题颜色,该配色方案与指定对象相关联。Returns or sets the theme color in the applied color scheme that is associated with the specified object. 读/写 VariantRead/write Variant.

语法Syntax

表达式ThemeColorexpression.ThemeColor

_表达式_一个代表**边框** 对象的变量。expression A variable that represents a Borders object.

说明Remarks

如果对象当前未应用主题颜色,试图访问其主题颜色则会引起无效请求运行时错误。Attempting to access a theme color for an object whose color is not currently themed will result in an invalid request run-time error.

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.