View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default reading cells by name/definition

Which you didn't mention in your post.

It works, it must be your code somewhere.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
ups.com...
i tried it and it generated an exception citing problems with
"getrange" method

just wish to know is it possible to access a cell content by its name?

Bob Phillips wrote:

Did you try it? If you did you would answer your own question.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
oups.com...
Hello all,
just wish to know is it possible to read excel cells by their name
instead of cell reference.

i.e. instead of using xlsheet.range(A4).value, can i use
xlsheet.range("my_given_name").value
where A4 is named as my_given_name ?