Pattern Property

 

The Pattern property returns or sets the fill pattern. Returns a string.

 

Syntax

object.Pattern

object.Pattern = Pattern

 

Parameter

Type

Description

Pattern

String

required; pattern name

 

Example 1

This example demonstrates how to return a fill pattern.

 

Debug.Print FillFormat.Pattern

 

Example 2

This example demonstrates how to set a fill pattern to diagonal cross.

 

FillFormat.Pattern = "Diagonal Cross"

 

Used by: FillFormat object