>Not quite clear what you want to do. "NAME" property applies to many objects in Excel, but not to application itself.
Sure it does. The name of the application is 'Microsoft Excel'. Try it:
oApp = CreateObject('Excel.Application')
? oApp.name
>For more information, try to find on your PC the VBA EXCEL Help file VBAXL?.HLP and search there for NAME.
>
>>I've created an object
>>a= createobject('excel.sheet')
>>When I tryed to reference a instance variable or a method:
>>a.name= 'aaa'
>>the system shows me a message: 'name' variable is not found