Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Clara,
The default property of a Name is RefersTo, hence if the name refers to a range returning the default property will return its address Maybe you want this - On error resume next s = "" s = Range("A1:a3").Name.Name on error goto 0 If len(s) then msgbox s & vbcr & Range("A1:a3").Name else msgbox "the range is not defined" End if Regards, Peter T "clara" wrote in message ... Hi all, I can use Range("A1:a3").Name = "data" to define a name object. but Range("A1:a3").Name will display the address of the name object Could you explain why? Clara -- thank you so much for your help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Object property/method problem | Excel Discussion (Misc queries) | |||
Lookin property of the FileSearch object | New Users to Excel | |||
Using The Value property of the ActiveCell object | Excel Programming | |||
How to check if an object has a certain property? | Excel Programming | |||
Page Object property | Excel Programming |