Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.12 KB

Excel.FillFormat.TextureName.md

File metadata and controls

52 lines (34 loc) · 1.12 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
FillFormat.TextureName property (Excel)
vbaxl10.chm115020
vbaxl10.chm115020
Excel.FillFormat.TextureName
9ef98f75-6407-010c-5c8f-44f3d236c04f
04/26/2019
medium

FillFormat.TextureName property (Excel)

Returns the name of the custom texture file for the specified fill. Read-only String.

Syntax

expression.TextureName

expression A variable that represents a FillFormat object.

Remarks

Use the UserPicture or UserTextured method to set the texture file for the fill.

Example

This example sets the fill format for chart two to the same style used for chart one.

Set c1f = Charts(1).ChartArea.Fill 
If c1f.Type = msoFillTextured Then 
 With Charts(2).ChartArea.Fill 
 .Visible = True 
 If c1f.TextureType = msoTexturePreset Then 
 .PresetTextured c1f.PresetTexture 
 Else 
 .UserTextured c1f.TextureName 
 End If 
 End With 
End If

[!includeSupport and feedback]