Borders.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

_運算式_代表**Borders** 物件的變數。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.