Name Property [Application, Shape]

Name returns the name or ID of the selected shape or application. Returns a string. This is the default property for the Application and Shape objects.

Syntax

object.Name

Remarks

The application name (i.e. "Surfer") is returned without the path. Use FullName to determine the application path.

Example 1

This example demonstrates how to return the name of the application.

Debug.Print SurferApp.Name

Example 2

This script displays all the properties in the Application object.

Used by: Application object, Shape object, SymbologyClassedColorsBin object, SymbologyClassedSymbolsBin object