Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.14 KB

Excel.ShadowFormat.Transparency.md

File metadata and controls

45 lines (28 loc) · 1.14 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ShadowFormat.Transparency property (Excel)
vbaxl10.chm114006
vbaxl10.chm114006
Excel.ShadowFormat.Transparency
c4a92bf1-3a29-16c0-0eb8-0b1faf75bd4a
05/14/2019
medium

ShadowFormat.Transparency property (Excel)

Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear). Read/write Double.

Syntax

expression.Transparency

expression A variable that represents a ShadowFormat object.

Remarks

The value of this property affects the appearance of solid-colored fills and lines only; it has no effect on the appearance of patterned lines or patterned, gradient, picture, or textured fills.

Example

This example sets the shadow of shape three on worksheet one to semitransparent red. If the shape doesn't already have a shadow, this example adds one to it.

With Worksheets(1).Shapes(3).Shadow 
 .Visible = True 
 .ForeColor.RGB = RGB(255, 0, 0) 
 .Transparency = 0.5 
End With

[!includeSupport and feedback]