共用方式為


Border.ThemeColor Property (Excel)

Returns or sets the theme color in the applied color scheme that is associated with the specified object. Read/write Variant.

Version Information

Version Added: Excel 2007

Syntax

expression .ThemeColor

expression A variable that represents a Border 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.

請參閱

概念

Border Object Members

Border Object