הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Returns an Interior object that represents the interior of the specified object.
Syntax
expression.Interior
expression A variable that represents a Range object.
Example
This example sets the interior color for cell A1 on Sheet1 to cyan.
Sub SetColor()
Worksheets("Sheet1").Range("A1").Interior.ColorIndex = 8 ' Cyan
End Sub
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.