View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Rob van Gelder[_4_] Rob van Gelder[_4_] is offline
external usenet poster
 
Posts: 1,236
Default access a cell by it's name

myvar = Range("my_name").Value

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Simon Sunke" wrote in message
...
Hello

I need to access a certain cell in a worksheet, but I don't know the
coordinates (row,col = because it may be moved when inserting rows or
cols).
So I tried to name that cell, but now I don't know how to access that

named
cell from the macro code.

Can anybody help me?
Thanks!
Simon Sunke