View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Terry V Terry V is offline
external usenet poster
 
Posts: 34
Default Get address of Cell

Hello
I am using:
Dim x as Range
Range("B65536").End(xlUp) to find the last used cell.
Ive tried assigning a variable to this and it returns the value of the cell

x = Range("B65536").End(xlUp) ' returns cell value
I need x to return the cell address without activating the cell.

x = Range("B65536").End(xlUp).Address ' does not work

Any suggestions?
Thank you
Terry