ColorFormat.RGB Property
Publisher Developer Reference |
Returns or sets an MsoRGBType that represents the red-green-blue (RGB) value of the specified color. Read/write.
Syntax
expression.RGB
expression A variable that represents a ColorFormat object.
Return Value
MsoRGBType
Example
This example creates a new shape to the first page of the active publication and sets the fill color to red.
Visual Basic for Applications |
---|
|
This example returns the value of the foreground color of the first shape on the first page of the active document. This example assumes that there is at least one shape on the first page of the active publication.
Visual Basic for Applications |
---|
|
See Also