Name Property [Shape]

Name sets the name or ID of the selected shape. This is the default property for the Shape object.

Syntax

object.Name( Name )

Parameter

Type

Description

Name

String

required

Example 1

This example demonstrates how to set the id of a shape to "BenzeneConcentration.

Shape.Name = "BenzeneConcentration"

Example 2

This script displays all the methods and properties in the Shape object.

Used by: Shape object