GefObject.Name (property)

Gets and sets the name of an object. It is read-only for some objects.
Syntax: String = object.Name
object.Name = String
Description: The name of the GefObject object can be used as an index in the GefObjects and GefRange collections.


Sub GefObject_Name()
    Dim oCimObj As GefObject
    Set oCimObj = CimGetObject
    MsgBox "The selected item's name is " & oCimObj.Name
End Sub