共用方式為


Interior Members (Excel)

Represents the interior of an object.

Properties

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

Color

Returns or sets the primary color of the object, as shown in the table in the remarks section. Use the RGB function to create a color value. Read/write Variant.

ColorIndex

Returns or sets a Variant value that represents the color of the interior.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.

Gradient

Returns or sets the Gradient property of an Interior object of a selection. Read-only

InvertIfNegative

True if Microsoft Excel inverts the pattern in the item when it corresponds to a negative number. Read/write Variant.

Parent

Returns the parent object for the specified object. Read-only.

Pattern

Returns or sets a Variant value, containing an xlPattern constant, that represents the interior pattern.

PatternColor

Returns or sets the color of the interior pattern as an RGB value. Read/write Variant.

PatternColorIndex

Returns or sets the color of the interior pattern as an index into the current color palette, or as one of the following XlColorIndex constants: xlColorIndexAutomatic or xlColorIndexNone. Read/write Long.

PatternThemeColor

Returns or sets a theme color pattern for an Interior object. Read/write Variant.

PatternTintAndShade

Returns or sets a tint and shade pattern for an Interior object. Read/write Variant.

ThemeColor

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

TintAndShade

Returns or sets a Single that lightens or darkens a color.